Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.TursoDb.dll Namespace: CloudNimble.BlazorEssentials.TursoDb.Schema Inheritance: System.Object

Syntax

Summary

Contains metadata about a column in a table.

Constructors

.ctor

Initializes a new instance of the ColumnMetadata class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

AutoIncrement

Gets whether the primary key auto-increments.

Syntax

Property Value

Type: bool

ColumnName

Gets the column name in the database.

Syntax

Property Value

Type: string

DefaultValue

Gets the default value for the column, or null if none.

Syntax

Property Value

Type: string?

HasIndex

Gets whether this column has an index.

Syntax

Property Value

Type: bool

IndexName

Gets the index name, if any.

Syntax

Property Value

Type: string?

IsNullable

Gets whether the column allows NULL values.

Syntax

Property Value

Type: bool

IsPrimaryKey

Gets whether this column is the primary key.

Syntax

Property Value

Type: bool

IsUniqueIndex

Gets whether the index is unique.

Syntax

Property Value

Type: bool

Property

Gets the property info for this column.

Syntax

Property Value

Type: System.Reflection.PropertyInfo

SqliteType

Gets the SQLite type for this column.

Syntax

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

GetValue

Gets the value of this column from an entity instance.

Syntax

Parameters

Returns

Type: object? The column value.

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

SetValue

Sets the value of this column on an entity instance.

Syntax

Parameters

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?