Table of Contents

Class SqlitePrimaryKey

Namespace
LfrlAnvil.Sqlite.Objects
Assembly
LfrlAnvil.Sqlite.dll

Represents an SQL primary key constraint.

public sealed class SqlitePrimaryKey : SqlPrimaryKey, ISqlPrimaryKey, ISqlConstraint, ISqlObject
Inheritance
SqlitePrimaryKey
Implements
Inherited Members

Remarks

SqliteDialect implementation.

Properties

Database

Database that this object belongs to.

public SqliteDatabase Database { get; }

Property Value

SqliteDatabase

Index

Underlying index that defines this primary key.

public SqliteIndex Index { get; }

Property Value

SqliteIndex

Table

Table that this constraint is attached to.

public SqliteTable Table { get; }

Property Value

SqliteTable

Methods

ToString()

Returns a string representation of this SqlitePrimaryKey instance.

[Pure]
public override string ToString()

Returns

string

String representation.