ForeignKeyColumnCollection Miembros
The ForeignKeyColumnCollection class represents a collection of ForeignKeyColumn objects that represent all the foreign key columns defined on the parent object.
El tipo ForeignKeyColumnCollection expone los siguientes miembros.
Métodos
Nombre | Descripción | |
---|---|---|
Add(ForeignKeyColumn) | Adds a ForeignKeyColumn object to the foreign key column collection. | |
Add(ForeignKeyColumn, Int32) | Adds a ForeignKeyColumn object at a specified index position in the foreign key column collection. | |
Add(ForeignKeyColumn, String) | Adds a ForeignKeyColumn object to the position after a specified, existing ForeignKeyColumn object in the foreign key column collection. | |
AddExisting | Adds an object to the collection. (Se hereda de AbstractCollectionBase). | |
AddImpl | Adds an object or member to this collection at the specified index. (Se hereda de ArrayListCollectionBase). | |
Contains | Validates whether the parameter collection contains a member with a name equal to the specified string. (Se hereda de ParameterCollectionBase). | |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. | |
Equals | (Se hereda de Object). | |
Finalize | (Se hereda de Object). | |
GetCollectionElementType | Gets the Collection Element Type. (Se hereda de SmoCollectionBase). | |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Se hereda de SmoCollectionBase). | |
GetHashCode | (Se hereda de Object). | |
GetItemById(Int32) | Extracts a member from the referenced collection using a system-defined, unique identifier. (Se hereda de SmoCollectionBase). | |
GetItemById(Int32, String) | Extracts a member from the referenced collection using a system-defined, unique identifier and name. (Se hereda de SmoCollectionBase). | |
GetObjectByIndex | Extracts a member from the referenced collection using a system-defined, unique identifier. (Se hereda de SmoCollectionBase). | |
GetType | (Se hereda de Object). | |
ImplAddExisting | Adds an object to a collection. (Se hereda de ParameterCollectionBase). | |
InitializeChildCollection() () () () | Initializes the child collections of the referenced collection. (Se hereda de SmoCollectionBase). | |
InitializeChildCollection(Boolean) | Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection. (Se hereda de SmoCollectionBase). | |
InitInnerCollection | Initializes a collection. (Se hereda de ParameterCollectionBase). | |
ItemById | Extracts a member from the ForeignKeyColumnCollection collection using a system-defined, unique identifier. | |
MemberwiseClone | (Se hereda de Object). | |
Refresh() () () () | Refreshes the referenced collection. (Se hereda de SmoCollectionBase). | |
Refresh(Boolean) | Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (Se hereda de SmoCollectionBase). | |
Remove | Removes a member from the collection with the specified name. (Se hereda de ParameterCollectionBase). | |
Remove(ForeignKeyColumn) | Removes a ForeignKeyColumn object from the foreign key column collection. | |
ToString | (Se hereda de Object). | |
ValidateParentObject | Validates the parent object exists. (Se hereda de SmoCollectionBase). |
Principio
Campos
Nombre | Descripción | |
---|---|---|
initialized | This value supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda de AbstractCollectionBase). |
Principio
Propiedades
Nombre | Descripción | |
---|---|---|
Count | Gets the number of objects in the referenced collection. (Se hereda de SmoCollectionBase). | |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Se hereda de SmoCollectionBase). | |
Item[ ( [ ( Int32] ) ] ) | Gets a ForeignKeyColumn object in the collection by index number. | |
Item[ ( [ ( String] ) ] ) | Gets a ForeignKeyColumn object in the collection by name. | |
Parent | Gets the ForeignKey object that is the parent of the ForeignKeyColumnCollection object. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (Se hereda de SmoCollectionBase). |
Principio
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
ICollection. . :: . .CopyTo | Copies the elements from an instance to an array beginning at the index indicated. (Se hereda de SmoCollectionBase). |
Principio
Vea también