Show / Hide Table of Contents

    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)

    Creates an instance of an index column with name. Column sort Order is Ascending.

    Declaration
    public IndexColumnSchema(string name)
    Parameters
    Type Name Description
    System.String name

    Index column name.

    Exceptions
    Type Condition
    System.ArgumentNullException

    Value of name is null.

    System.ArgumentException

    Value of name is empty string, or string containing only whitespace characters.

    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 name is null.

    System.ArgumentException

    Value of name is empty string, or string containing only whitespace characters.

    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
    Back to top KROS a.s.