Class MySqlSchemaBuilder
Represents an SQL schema builder.
public sealed class MySqlSchemaBuilder : SqlSchemaBuilder, ISqlSchemaBuilder, ISqlObjectBuilder
- Inheritance
-
MySqlSchemaBuilder
- Implements
- Inherited Members
- Extension Methods
Remarks
MySqlDialect implementation.
Properties
CanRemove
Specifies whether or not this object can be removed.
public override bool CanRemove { get; }
Property Value
Database
Database that this object belongs to.
public MySqlDatabaseBuilder Database { get; }
Property Value
Objects
Collection of objects that belong to this schema.
public MySqlObjectBuilderCollection Objects { get; }
Property Value
Methods
BeforeRemove()
Callback invoked just before the removal is processed.
protected override void BeforeRemove()
Exceptions
- SqlObjectBuilderException
When this object cannot be removed.
SetName(string)
Changes the name of this object.
public MySqlSchemaBuilder SetName(string name)
Parameters
name
stringName to set.
Returns
- MySqlSchemaBuilder
this.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.