  | IDbProviderCreateIndex Method  | 
 
            Create the statement to define the index
            
 
    Namespace: 
   SanteDB.OrmLite.Providers
    Assembly:
   SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
SyntaxSqlStatement CreateIndex(
	string indexName,
	string tableName,
	string column,
	bool isUnique
)
Function CreateIndex ( 
	indexName As String,
	tableName As String,
	column As String,
	isUnique As Boolean
) As SqlStatement
SqlStatement^ CreateIndex(
	String^ indexName, 
	String^ tableName, 
	String^ column, 
	bool isUnique
)
abstract 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.IDbProvider.CreateIndex(System.String,System.String,System.String,System.Boolean)"]
See Also