Class IndexColumnSchema
Schema of a column of an index.
Inheritance
System.Object
IndexColumnSchema
Namespace: Kros.Data.Schema
Assembly: Kros.Utils.dll
Syntax
public class IndexColumnSchema
Constructors
IndexColumnSchema(String)
Declaration
public IndexColumnSchema(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Index column name. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Value of |
System.ArgumentException | Value of |
IndexColumnSchema(String, SortOrder)
Creates an instance of an index column with name
and sort order
.
Declaration
public IndexColumnSchema(string name, SortOrder order)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Index column name. |
SortOrder | order | Index column sort order. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Value of |
System.ArgumentException | Value of |
Properties
Index
Index, to which column belongs.
Declaration
public IndexSchema Index { get; }
Property Value
Type | Description |
---|---|
IndexSchema |
Name
Column name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Order
Sort order of the column.
Declaration
public SortOrder Order { get; set; }
Property Value
Type | Description |
---|---|
SortOrder |