Skip to content

DmIndex ​

Namespace: MJCZone.DapperMatic.Models

Assembly: MJCZone.DapperMatic

Summary ​

Represents an index on a table.

public

Contents ​

Constructors (2) | Methods (4) | Properties (5)

Constructors ​

DmIndex ​

Initializes a new instance of the MJCZone.DapperMatic.Models.DmIndex class. Used for deserialization.

csharp
DmIndex()

DmIndex ​

Initializes a new instance of the MJCZone.DapperMatic.Models.DmIndex class.

csharp
DmIndex(string schemaName, string tableName, string indexName, DmOrderedColumn[] columns, bool isUnique)

Parameters ​

  • schemaName (string) - The schema name.
  • tableName (string) - The table name.
  • indexName (string) - The index name.
  • columns (DmOrderedColumn[]) - The columns in the index.
  • isUnique (bool) - Indicates whether the index is unique.

Methods ​

GetType ​

csharp
void GetType()

ToString ​

csharp
void ToString()

Equals ​

csharp
void Equals()

GetHashCode ​

csharp
void GetHashCode()

Properties ​

SchemaName ​

Gets or sets the schema name.

Type: string?

TableName ​

Gets or sets the table name.

Type: string

IndexName ​

Gets or sets the index name.

Type: string

Columns ​

Gets or sets the columns.

Type: List<DmOrderedColumn>

IsUnique ​

Gets or sets a value indicating whether the index is unique.

Type: bool