Class DropTableTask
Drops a table. Use DropIfExists to drop a table only if it exists.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox.ControlFlow.Tasks
Assembly: ETLBox.dll
Syntax
public sealed class DropTableTask : DropTask<IfTableOrViewExistsTask>, ILoggableTask
Constructors
DropTableTask()
Declaration
public DropTableTask()
DropTableTask(string)
Declaration
public DropTableTask(string tableName)
Parameters
Type | Name | Description |
---|---|---|
string | tableName |
Methods
Drop(IConnectionManager, string)
Drops a table.
Declaration
public static void Drop(IConnectionManager connectionManager, string tableName)
Parameters
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
string | tableName | Name of the table to drop |
Drop(string)
Drops a table.
Declaration
public static void Drop(string tableName)
Parameters
Type | Name | Description |
---|---|---|
string | tableName | Name of the table to drop |
DropIfExists(IConnectionManager, string)
Drops a table if the table exists.
Declaration
public static void DropIfExists(IConnectionManager connectionManager, string tableName)
Parameters
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
string | tableName | Name of the table to drop |
DropIfExists(string)
Drops a table if the table exists.
Declaration
public static void DropIfExists(string tableName)
Parameters
Type | Name | Description |
---|---|---|
string | tableName | Name of the table to drop |