Skip to content

CreateIndexes Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
string CreateIndexes(ITableInfo table, bool noLock = null)Generate SQL that creates all non-primary-key indexes on table. Returns null when there are no indexes to emit.
string CreateIndexes(TableDifferences differences, bool noLock = null)Generate SQL that applies index changes from a compare result (drops then adds). Returns null when there is no index work.

string CreateIndexes(ITableInfo table, bool noLock = null) ​

csharp
string CreateIndexes(ITableInfo table, bool noLock = null)

Generate SQL that creates all non-primary-key indexes on table. Returns null when there are no indexes to emit.

string CreateIndexes(TableDifferences differences, bool noLock = null) ​

csharp
string CreateIndexes(TableDifferences differences, bool noLock = null)

Generate SQL that applies index changes from a compare result (drops then adds). Returns null when there is no index work.