Title here
Summary here
Drops a schema. Use DropIfExists to drop a schema only if it exists. For MySql or MariaDb, use the DropDatabase task instead.
public sealed class DropSchemaTask : DropTask<IfSchemaExistsTask>, ILoggableTask
public DropSchemaTask()
public DropSchemaTask(string schemaName)
Type | Name | Description |
---|---|---|
string | schemaName |
public override ObjectNameDescriptor ON { get; }
Type | Description |
---|---|
ObjectNameDescriptor |
Drops a schema. For MySql, use the DropDatabase task instead.
public static void Drop(IConnectionManager connectionManager, string schemaName)
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
string | schemaName | Name of the schema to drop |
Drops a schema. For MySql, use the DropDatabase task instead.
public static void Drop(string schemaName)
Type | Name | Description |
---|---|---|
string | schemaName | Name of the schema to drop |
Drops a schema if the schema exists. For MySql, use the DropDatabase task instead.
public static void DropIfExists(IConnectionManager connectionManager, string schemaName)
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
string | schemaName | Name of the schema to drop |
Drops a schema if the schema exists. For MySql, use the DropDatabase task instead.
public static void DropIfExists(string schemaName)
Type | Name | Description |
---|---|---|
string | schemaName | Name of the schema to drop |