Class CreateLogTableTask

Will create the default log table for the default database logging You can use `ControlFlow.SetLoggingDatabase(IConnectionManager connectionManager, string logTableName) to let ETLBox update your nlog.config add add this table as database target automatically. Or you can update your nlog.config manually.

Inheritance
System.Object
CreateLogTableTask
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ETLBox.Logging
Assembly: ETLBox.dll
Syntax
    public sealed class CreateLogTableTask : ControlFlowTask, ILoggableTask

Constructors

CreateLogTableTask(IConnectionManager, String)

Declaration
    public CreateLogTableTask(IConnectionManager connectionManager, string logTableName)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.StringlogTableName

CreateLogTableTask(String)

Declaration
    public CreateLogTableTask(string logTableName)
Parameters
TypeNameDescription
System.StringlogTableName

Properties

LogTable

Declaration
    public CreateTableTask LogTable { get; }
Property Value
TypeDescription
CreateTableTask

LogTableName

Declaration
    public string LogTableName { get; set; }
Property Value
TypeDescription
System.String

Sql

Declaration
    public string Sql { get; }
Property Value
TypeDescription
System.String

TaskName

Declaration
    public override string TaskName { get; set; }
Property Value
TypeDescription
System.String
Overrides

Methods

Create(IConnectionManager, String)

Declaration
    public static void Create(IConnectionManager connectionManager, string logTableName = "etlbox_log")
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.StringlogTableName

Create(String)

Declaration
    public static void Create(string logTableName = "etlbox_log")
Parameters
TypeNameDescription
System.StringlogTableName

Execute()

Declaration
    public void Execute()

Implements