Table of Contents

Method AddIndexColumn

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

AddIndexColumn(string, IndexOrderType)

Adds a column to this index with the specified sort order.

public void AddIndexColumn(string column, IndexOrderType orderType)

Parameters

column string

The name of the column to add to the index.

orderType IndexOrderType

The sort order for this column (Ascending or Descending).

Remarks

Columns are added in the order they will appear in the index. For composite indexes, column order is significant for query optimization.