IndexMetadata<(Of <(<'TObjectName, TDbType>)>)> Constructor
Initializes a new instance of the IndexMetadata<(Of <(<'TObjectName, TDbType>)>)> class.
Namespace:
Tortuga.Chain.MetadataAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public IndexMetadata( TObjectName tableName, Nullable<string> name, bool isPrimaryKey, bool isUnique, bool isUniqueConstraint, IndexColumnMetadataCollection<TDbType> columns, Nullable<long> indexSizeKB, Nullable<long> rowCount, IndexType indexType )
Public Sub New ( _ tableName As TObjectName, _ name As Nullable(Of String), _ isPrimaryKey As Boolean, _ isUnique As Boolean, _ isUniqueConstraint As Boolean, _ columns As IndexColumnMetadataCollection(Of TDbType), _ indexSizeKB As Nullable(Of Long), _ rowCount As Nullable(Of Long), _ indexType As IndexType _ )
Parameters
- tableName
- Type: TObjectName
Name of the table (or view).
- isPrimaryKey
- Type: Boolean
if set to true is a primary key.
- isUnique
- Type: Boolean
if set to true is a unique index.
- isUniqueConstraint
- Type: Boolean
if set to true is a unique constraint.
- columns
- Type: Tortuga.Chain.Metadata..::..IndexColumnMetadataCollection<(Of <(<'TDbType>)>)>
The columns.
- indexType
- Type: Tortuga.Chain.Metadata..::..IndexType
Type of the index.