Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.TursoDb.dll Namespace: CloudNimble.BlazorEssentials.TursoDb Inheritance: System.Attribute

Syntax

CloudNimble.BlazorEssentials.TursoDb.IndexAttribute

Summary

Creates an index on the specified column.

Constructors

.ctor

Syntax

public IndexAttribute()

Properties

Name

Gets or sets the index name. If not specified, the name is auto-generated as “ix__”.

Syntax

public string Name { get; set; }

Property Value

Type: string?

Unique

Gets or sets whether the index enforces uniqueness.

Syntax

public bool Unique { get; set; }

Property Value

Type: bool