Compartir a través de


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
Método publico Add(ForeignKeyColumn) Adds a ForeignKeyColumn object to the foreign key column collection.
Método publico Add(ForeignKeyColumn, Int32) Adds a ForeignKeyColumn object at a specified index position in the foreign key column collection.
Método publico Add(ForeignKeyColumn, String) Adds a ForeignKeyColumn object to the position after a specified, existing ForeignKeyColumn object in the foreign key column collection.
Método protegido AddExisting Adds an object to the collection. (Se hereda de AbstractCollectionBase).
Método protegido AddImpl Adds an object or member to this collection at the specified index. (Se hereda de ArrayListCollectionBase).
Método publico Contains Validates whether the parameter collection contains a member with a name equal to the specified string. (Se hereda de ParameterCollectionBase).
Método publico CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método protegido GetCollectionElementType Gets the Collection Element Type. (Se hereda de SmoCollectionBase).
Método publico GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Se hereda de SmoCollectionBase).
Método publico GetHashCode (Se hereda de Object).
Método protegido GetItemById(Int32) Extracts a member from the referenced collection using a system-defined, unique identifier. (Se hereda de SmoCollectionBase).
Método protegido GetItemById(Int32, String) Extracts a member from the referenced collection using a system-defined, unique identifier and name. (Se hereda de SmoCollectionBase).
Método protegido GetObjectByIndex Extracts a member from the referenced collection using a system-defined, unique identifier. (Se hereda de SmoCollectionBase).
Método publico GetType (Se hereda de Object).
Método protegido ImplAddExisting Adds an object to a collection. (Se hereda de ParameterCollectionBase).
Método protegido InitializeChildCollection() () () () Initializes the child collections of the referenced collection. (Se hereda de SmoCollectionBase).
Método protegido 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).
Método protegido InitInnerCollection Initializes a collection. (Se hereda de ParameterCollectionBase).
Método publico ItemById Extracts a member from the ForeignKeyColumnCollection collection using a system-defined, unique identifier.
Método protegido MemberwiseClone (Se hereda de Object).
Método publico Refresh() () () () Refreshes the referenced collection. (Se hereda de SmoCollectionBase).
Método publico Refresh(Boolean) Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (Se hereda de SmoCollectionBase).
Método publico Remove Removes a member from the collection with the specified name. (Se hereda de ParameterCollectionBase).
Método publico Remove(ForeignKeyColumn) Removes a ForeignKeyColumn object from the foreign key column collection.
Método publico ToString (Se hereda de Object).
Método protegido ValidateParentObject Validates the parent object exists. (Se hereda de SmoCollectionBase).

Principio

Campos

  Nombre Descripción
Campo protegido 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
Propiedad pública Count Gets the number of objects in the referenced collection. (Se hereda de SmoCollectionBase).
Propiedad pública IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Se hereda de SmoCollectionBase).
Propiedad pública Item[ ( [ ( Int32] ) ] ) Gets a ForeignKeyColumn object in the collection by index number.
Propiedad pública Item[ ( [ ( String] ) ] ) Gets a ForeignKeyColumn object in the collection by name.
Propiedad pública Parent Gets the ForeignKey object that is the parent of the ForeignKeyColumnCollection object.
Propiedad pública 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
Implementación de interfaces explícitasMétodo privado ICollection. . :: . .CopyTo Copies the elements from an instance to an array beginning at the index indicated. (Se hereda de SmoCollectionBase).

Principio