Table of Contents

Method CreateIndex

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

CreateIndex(string, string, IndexOrderType)

Creates an index on a single column with the specified ordering.

public Index CreateIndex(string name, string columnName, IndexOrderType orderType)

Parameters

name string

The index name.

columnName string

The column to index.

orderType IndexOrderType

Whether to index ascending or descending.

Returns

Index

The newly created Index.

CreateIndex(string)

Creates an empty index that columns can be added to via AddIndexColumn(string, IndexOrderType).

public Index CreateIndex(string name)

Parameters

name string

The index name.

Returns

Index

The newly created Index.