Table of Contents

Class SqliteCheckBuilder

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

Represents an SQL check constraint builder.

public sealed class SqliteCheckBuilder : SqlCheckBuilder, ISqlCheckBuilder, ISqlConstraintBuilder, ISqlObjectBuilder
Inheritance
SqliteCheckBuilder
Implements
Inherited Members
Extension Methods

Remarks

SqliteDialect implementation.

Properties

Database

Database that this object belongs to.

public SqliteDatabaseBuilder Database { get; }

Property Value

SqliteDatabaseBuilder

ReferencedColumns

Collection of columns referenced by this check constraint.

public SqlObjectBuilderArray<SqliteColumnBuilder> ReferencedColumns { get; }

Property Value

SqlObjectBuilderArray<SqliteColumnBuilder>

Table

Table that this constraint is attached to.

public SqliteTableBuilder Table { get; }

Property Value

SqliteTableBuilder

Methods

SetDefaultName()

Changes the name of this object to a default name.

public SqliteCheckBuilder SetDefaultName()

Returns

SqliteCheckBuilder

this.

Remarks

See ISqlDefaultObjectNameProvider for more information.

Exceptions

SqlObjectBuilderException

When name cannot be changed.

SetName(string)

Changes the name of this object.

public SqliteCheckBuilder SetName(string name)

Parameters

name string

Name to set.

Returns

SqliteCheckBuilder

this.

Exceptions

SqlObjectBuilderException

When name cannot be changed.

ToString()

Returns a string representation of this SqliteCheckBuilder instance.

[Pure]
public override string ToString()

Returns

string

String representation.