Table of Contents

Class SqlDataFileCollection

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

Represents a collection of data files for a file group in a SQL database.

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

Constructors

SqlDataFileCollection()

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

public SqlDataFileCollection()

Methods

FindByIdentifier(Guid)

Returns the data file with the specified identifier, or null if no file with that identifier is found.

public SqlDataFile FindByIdentifier(Guid identifier)

Parameters

identifier Guid

The unique identifier of the data file to locate.

Returns

SqlDataFile

The data file with the specified identifier.

FindByName(string)

Returns the data file with the specified name, or null if no file with that name is found.

public SqlDataFile FindByName(string name)

Parameters

name string

The name of the data file to locate.

Returns

SqlDataFile

The data file with the specified name.

Sort()

Sorts the values in the collection.

public void Sort()