| SqliteProviderCreateIndex Method |
Create the statement to define the index
Namespace:
SanteDB.OrmLite.Providers
Assembly:
SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax public SqlStatement CreateIndex(
string indexName,
string tableName,
string column,
bool isUnique
)
Public Function CreateIndex (
indexName As String,
tableName As String,
column As String,
isUnique As Boolean
) As SqlStatement
public:
virtual SqlStatement^ CreateIndex(
String^ indexName,
String^ tableName,
String^ column,
bool isUnique
) sealed
abstract CreateIndex :
indexName : string *
tableName : string *
column : string *
isUnique : bool -> SqlStatement
override CreateIndex :
indexName : string *
tableName : string *
column : string *
isUnique : bool -> SqlStatement
Parameters
- indexName
- Type: SystemString
The index name - tableName
- Type: SystemString
The table to be indexed - column
- Type: SystemString
The column to be indexed - isUnique
- Type: SystemBoolean
True if the index is uique
Return Value
Type:
SqlStatement[Missing <returns> documentation for "M:SanteDB.OrmLite.Providers.SqliteProvider.CreateIndex(System.String,System.String,System.String,System.Boolean)"]
Implements
IDbProviderCreateIndex(String, String, String, Boolean)See Also