Skip to main content

Definition

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

Syntax

CloudNimble.BlazorEssentials.TursoDb.PrimaryKeyAttribute

Summary

Marks a property as the primary key of the table.

Constructors

.ctor

Syntax

public PrimaryKeyAttribute()

Properties

AutoIncrement

Gets or sets whether the primary key auto-increments. Defaults to true for integer types.

Syntax

public bool AutoIncrement { get; set; }

Property Value

Type: bool