Class PostgreSqlTableBuilder
- Namespace
- LfrlAnvil.PostgreSql.Objects.Builders
- Assembly
- LfrlAnvil.PostgreSql.dll
Represents an SQL table builder.
public sealed class PostgreSqlTableBuilder : SqlTableBuilder, ISqlTableBuilder, ISqlObjectBuilder
- Inheritance
-
PostgreSqlTableBuilder
- Implements
- Inherited Members
- Extension Methods
Remarks
PostgreSqlDialect implementation.
Properties
Columns
Collection of columns that belong to this table.
public PostgreSqlColumnBuilderCollection Columns { get; }
Property Value
Constraints
Collection of constraints that belong to this table.
public PostgreSqlConstraintBuilderCollection Constraints { get; }
Property Value
Database
Database that this object belongs to.
public PostgreSqlDatabaseBuilder Database { get; }
Property Value
Schema
Schema that this table belongs to.
public PostgreSqlSchemaBuilder Schema { get; }
Property Value
Methods
SetName(string)
Changes the name of this object.
public PostgreSqlTableBuilder SetName(string name)
Parameters
name
stringName to set.
Returns
- PostgreSqlTableBuilder
this.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.