Class ForeignKeyCollection
Represents a collection of database foreign keys.
public class ForeignKeyCollection : SchemaItemCollection<ForeignKey>, IList<ForeignKey>, ICollection<ForeignKey>, IReadOnlyList<ForeignKey>, IReadOnlyCollection<ForeignKey>, IEnumerable<ForeignKey>, IList, ICollection, IEnumerable
- Inheritance
-
ForeignKeyCollection
- Implements
- Inherited Members
Constructors
ForeignKeyCollection()
Initializes a new instance of the ForeignKeyCollection class.
public ForeignKeyCollection()
ForeignKeyCollection(IEnumerable<ForeignKey>)
Initializes a new instance of the ForeignKeyCollection class with the specified collection of items.
public ForeignKeyCollection(IEnumerable<ForeignKey> foreignKeys)
Parameters
foreignKeysIEnumerable<ForeignKey>The collection of items to initialize the collection with.
ForeignKeyCollection(int)
Initializes a new instance of the ForeignKeyCollection class with the specified initial capacity.
public ForeignKeyCollection(int capacity)
Parameters
capacityintThe initial number of elements that the collection can contain.