Class MySqlTableBuilder
Represents an SQL table builder.
public sealed class MySqlTableBuilder : SqlTableBuilder, ISqlTableBuilder, ISqlObjectBuilder
- Inheritance
-
MySqlTableBuilder
- Implements
- Inherited Members
- Extension Methods
Remarks
MySqlDialect implementation.
Properties
Columns
Collection of columns that belong to this table.
public MySqlColumnBuilderCollection Columns { get; }
Property Value
Constraints
Collection of constraints that belong to this table.
public MySqlConstraintBuilderCollection Constraints { get; }
Property Value
Database
Database that this object belongs to.
public MySqlDatabaseBuilder Database { get; }
Property Value
Schema
Schema that this table belongs to.
public MySqlSchemaBuilder Schema { get; }
Property Value
Methods
SetName(string)
Changes the name of this object.
public MySqlTableBuilder SetName(string name)
Parameters
name
stringName to set.
Returns
- MySqlTableBuilder
this.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.