Table of Contents

Class SqliteTableBuilder

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

Represents an SQL table builder.

public sealed class SqliteTableBuilder : SqlTableBuilder, ISqlTableBuilder, ISqlObjectBuilder
Inheritance
SqliteTableBuilder
Implements
Inherited Members
Extension Methods

Remarks

SqliteDialect implementation.

Properties

Columns

Collection of columns that belong to this table.

public SqliteColumnBuilderCollection Columns { get; }

Property Value

SqliteColumnBuilderCollection

Constraints

Collection of constraints that belong to this table.

public SqliteConstraintBuilderCollection Constraints { get; }

Property Value

SqliteConstraintBuilderCollection

Database

Database that this object belongs to.

public SqliteDatabaseBuilder Database { get; }

Property Value

SqliteDatabaseBuilder

Schema

Schema that this table belongs to.

public SqliteSchemaBuilder Schema { get; }

Property Value

SqliteSchemaBuilder

Methods

SetName(string)

Changes the name of this object.

public SqliteTableBuilder SetName(string name)

Parameters

name string

Name to set.

Returns

SqliteTableBuilder

this.

Exceptions

SqlObjectBuilderException

When name cannot be changed.

ToString()

Returns a string representation of this SqliteTableBuilder instance.

[Pure]
public override string ToString()

Returns

string

String representation.