Class SqlKeyBase
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the base class of a SQL Server key.
public abstract class SqlKeyBase : BaseTypeSection, IComparable<SqlKeyBase>
- Inheritance
-
SqlKeyBase
- Implements
- Derived
Constructors
SqlKeyBase()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlKeyBase class.
public SqlKeyBase()
Properties
Identifier
Gets or sets the unique identifier of key. This is for internal system use only.
public Guid Identifier { get; set; }
Property Value
KeyLength
Gets or sets the key length.
public int KeyLength { get; set; }
Property Value
KeyName
Gets or sets the name of the key.
public string KeyName { get; set; }
Property Value
OwnerName
Gets or sets the name of the owner.
public string OwnerName { get; set; }
Property Value
ProviderName
Gets or sets the provider name.
public string ProviderName { get; set; }
Property Value
Methods
CompareTo(SqlKeyBase)
Compares two CENTREL.XIA.Configuration.Types.SqlKeyBase objects to allow sorting alphabetically by key name.
public int CompareTo(SqlKeyBase other)
Parameters
otherSqlKeyBaseThe CENTREL.XIA.Configuration.Types.SqlKeyBase to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlKeyBase objects.
ToString()
Returns the name of the key.
public override string ToString()
Returns
- string
The name of the key.