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 (5)

Constructors ​

DmIndexAttribute ​

csharp
DmIndexAttribute()

Methods ​

MethodSummary
Equals
GetHashCode
Match
IsDefaultAttribute
GetType
ToString

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Match ​

csharp
Match()

IsDefaultAttribute ​

csharp
IsDefaultAttribute()

GetType ​

csharp
GetType()

ToString ​

csharp
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[]?

PreviousNames ​

Gets or sets the names this index has had before, most recent first.

Type: string[]?

TypeId ​

Type: object