Skip to content

DmIndexAttribute ​

Namespace: MJCZone.DapperMatic.DataAnnotations

Assembly: MJCZone.DapperMatic

Summary ​

Attribute to define a database index.

Inheritance ​

Base Class: Attribute

sealed public

Contents ​

Constructors (1) | Methods (6) | Properties (4)

Constructors ​

DmIndexAttribute ​

csharp
DmIndexAttribute()

Methods ​

MethodSummary
Equals
GetHashCode
Match
IsDefaultAttribute
GetType
ToString

Equals ​

csharp
void Equals()

GetHashCode ​

csharp
void GetHashCode()

Match ​

csharp
void Match()

IsDefaultAttribute ​

csharp
void IsDefaultAttribute()

GetType ​

csharp
void GetType()

ToString ​

csharp
void ToString()

Properties ​

IndexName ​

Gets the index name.

Type: string?

IsUnique ​

Gets a value indicating whether the index is unique.

Type: bool?

Columns ​

Gets the columns included in the index.

Type: string[]?

TypeId ​

Type: object