Class SqlLoginCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of SQL logins.
public class SqlLoginCollection : Collection<SqlLogin>, IList<SqlLogin>, ICollection<SqlLogin>, IList, ICollection, IReadOnlyList<SqlLogin>, IReadOnlyCollection<SqlLogin>, IEnumerable<SqlLogin>, IEnumerable
- Inheritance
-
SqlLoginCollection
- Implements
- Inherited Members
Constructors
SqlLoginCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlLoginCollection class.
public SqlLoginCollection()
Methods
Exists(int)
Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.SqlLogin with the specified ID exists within the collection.
public bool Exists(int id)
Parameters
idintThe ID of the CENTREL.XIA.Configuration.Types.SqlLogin to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.SqlLogin with the specified ID exists within the collection.
FindById(int)
Returns the CENTREL.XIA.Configuration.Types.SqlLogin with the specified ID, or null if no CENTREL.XIA.Configuration.Types.SqlLogin with that ID is found.
public SqlLogin FindById(int id)
Parameters
idintThe ID of the CENTREL.XIA.Configuration.Types.SqlLogin to locate.
Returns
- SqlLogin
The CENTREL.XIA.Configuration.Types.SqlLogin with the specified ID.
FindByName(string)
Returns the CENTREL.XIA.Configuration.Types.SqlLogin with the specified name, or null if no CENTREL.XIA.Configuration.Types.SqlLogin with that name is found.
public SqlLogin FindByName(string name)
Parameters
namestringThe name of the CENTREL.XIA.Configuration.Types.SqlLogin to locate.
Returns
- SqlLogin
The CENTREL.XIA.Configuration.Types.SqlLogin with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()