Title here
Summary here
Tries to remove all database objects from the given schema(s). Currently only SqlServer and Oracle support this task.
public sealed class CleanUpSchemaTask : ControlFlowTask, ILoggableTaskCleanUpSchemaTask.CleanUp("demo"); public CleanUpSchemaTask() public CleanUpSchemaTask(string schemaName)| Type | Name | Description |
|---|---|---|
| string | schemaName |
The name of the schema
public string SchemaName { get; set; }| Type | Description |
|---|---|
| string |
The sql code that is used to clean up the schema.
public string Sql { get; }| Type | Description |
|---|---|
| string |
Runs the sql to clean up the user schema. (Oracle only)
public static void CleanUp()Runs the sql to clean up the user schema.
public static void CleanUp(IConnectionManager connectionManager)| Type | Name | Description |
|---|---|---|
| IConnectionManager | connectionManager | The connection manager of the database you want to connect |
Runs the sql to clean up a schema.(Oracle and SqlServer only)
public static void CleanUp(IConnectionManager connectionManager, string schemaName)| Type | Name | Description |
|---|---|---|
| IConnectionManager | connectionManager | The connection manager of the database you want to connect |
| string | schemaName | The name of the schema |
Runs the sql to clean up a schema. (Oracle and SqlServer only)
public static void CleanUp(string schemaName)| Type | Name | Description |
|---|---|---|
| string | schemaName | The name of the schema |