Table of Contents

Class MySqlSchemaBuilder

Namespace
LfrlAnvil.MySql.Objects.Builders
Assembly
LfrlAnvil.MySql.dll

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

bool

Database

Database that this object belongs to.

public MySqlDatabaseBuilder Database { get; }

Property Value

MySqlDatabaseBuilder

Objects

Collection of objects that belong to this schema.

public MySqlObjectBuilderCollection Objects { get; }

Property Value

MySqlObjectBuilderCollection

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 string

Name to set.

Returns

MySqlSchemaBuilder

this.

Exceptions

SqlObjectBuilderException

When name cannot be changed.