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
columnstringThe name of the column to add to the index.
orderTypeIndexOrderTypeThe 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.