Table of Contents

Interface ISqlTableBuilder

Namespace
LfrlAnvil.Sql.Objects.Builders
Assembly
LfrlAnvil.Sql.Core.dll

Represents an SQL table builder.

public interface ISqlTableBuilder : ISqlObjectBuilder
Inherited Members
Extension Methods

Properties

Columns

Collection of columns that belong to this table.

ISqlColumnBuilderCollection Columns { get; }

Property Value

ISqlColumnBuilderCollection

Constraints

Collection of constraints that belong to this table.

ISqlConstraintBuilderCollection Constraints { get; }

Property Value

ISqlConstraintBuilderCollection

Info

Represents a full name information of this table.

SqlRecordSetInfo Info { get; }

Property Value

SqlRecordSetInfo

Node

Underlying SqlTableBuilderNode instance that represents this table.

SqlTableBuilderNode Node { get; }

Property Value

SqlTableBuilderNode

Schema

Schema that this table belongs to.

ISqlSchemaBuilder Schema { get; }

Property Value

ISqlSchemaBuilder

Methods

SetName(string)

Changes the name of this object.

ISqlTableBuilder SetName(string name)

Parameters

name string

Name to set.

Returns

ISqlTableBuilder

this.

Exceptions

SqlObjectBuilderException

When name cannot be changed.