Table of Contents

Class SqlForeignKeyCollection

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a collection of SQL database table foreign keys.

public class SqlForeignKeyCollection : Collection<SqlForeignKey>, IList<SqlForeignKey>, ICollection<SqlForeignKey>, IList, ICollection, IReadOnlyList<SqlForeignKey>, IReadOnlyCollection<SqlForeignKey>, IEnumerable<SqlForeignKey>, IEnumerable
Inheritance
SqlForeignKeyCollection
Implements
Inherited Members

Constructors

SqlForeignKeyCollection()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlForeignKeyCollection class.

public SqlForeignKeyCollection()

Methods

FindByIdentifier(Guid)

Returns the foreign key with the specified identifier, or null if no foreign key with that identifier is found.

public SqlForeignKey FindByIdentifier(Guid identifier)

Parameters

identifier Guid

The identifier of the foreign key to locate.

Returns

SqlForeignKey

The foreign key with the specified identifier.

FindByName(string)

Returns the foreign key with the specified name, or null if no foreign key with that name is found.

public SqlForeignKey FindByName(string name)

Parameters

name string

The name of the foreign key to locate.

Returns

SqlForeignKey

The foreign key with the specified name.

Sort()

Sorts the values in the collection.

public void Sort()