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

TypeId

Type: object