LoadProcessTask

Class LoadProcessTask

Let you manage load process logging. You can start, stop and abort load processes with this task. It also allows you to create a the required table in your database.

Inheritance
LoadProcessTask
Implements
Namespace: ETLBox.Logging
Assembly: ETLBox.Logging.dll
Syntax
    public sealed class LoadProcessTask : ControlFlowTask, ILoggableTask

Constructors

LoadProcessTask()

Declaration
    public LoadProcessTask()

LoadProcessTask(string)

Declaration
    public LoadProcessTask(string processName)
Parameters
TypeNameDescription
stringprocessName

LoadProcessTask(string, long)

Declaration
    public LoadProcessTask(string processName, long sourceId)
Parameters
TypeNameDescription
stringprocessName
longsourceId

LoadProcessTask(string, string)

Declaration
    public LoadProcessTask(string processName, string source)
Parameters
TypeNameDescription
stringprocessName
stringsource

Fields

_tableName

Declaration
    public string _tableName
Field Value
TypeDescription
string

Properties

Process

Declaration
    public LoadProcess Process { get; set; }
Property Value
TypeDescription
LoadProcess

TableName

Declaration
    public string TableName { get; set; }
Property Value
TypeDescription
string

Methods

Abort(IConnectionManager, LoadProcess)

Declaration
    public static LoadProcess Abort(IConnectionManager connectionManager, LoadProcess process)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
LoadProcessprocess
Returns
TypeDescription
LoadProcess

Abort(IConnectionManager, LoadProcess, string)

Declaration
    public static LoadProcess Abort(IConnectionManager connectionManager, LoadProcess process, string abortMessage)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
LoadProcessprocess
stringabortMessage
Returns
TypeDescription
LoadProcess

Abort(LoadProcess)

Declaration
    public static LoadProcess Abort(LoadProcess process)
Parameters
TypeNameDescription
LoadProcessprocess
Returns
TypeDescription
LoadProcess

Abort(LoadProcess, string)

Declaration
    public static LoadProcess Abort(LoadProcess process, string abortMessage)
Parameters
TypeNameDescription
LoadProcessprocess
stringabortMessage
Returns
TypeDescription
LoadProcess

AbortProcess(string)

Declaration
    public LoadProcess AbortProcess(string abortMessage = "")
Parameters
TypeNameDescription
stringabortMessage
Returns
TypeDescription
LoadProcess

CreateTable()

Declaration
    public void CreateTable()

CreateTable(IConnectionManager, string)

Declaration
    public static void CreateTable(IConnectionManager connectionManager, string tableName = "etlbox_loadprocess")
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringtableName

CreateTable(string)

Declaration
    public static void CreateTable(string tableName = "etlbox_loadprocess")
Parameters
TypeNameDescription
stringtableName

End(IConnectionManager, LoadProcess)

Declaration
    public static LoadProcess End(IConnectionManager connectionManager, LoadProcess process)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
LoadProcessprocess
Returns
TypeDescription
LoadProcess

End(IConnectionManager, LoadProcess, string)

Declaration
    public static LoadProcess End(IConnectionManager connectionManager, LoadProcess process, string endMessage)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
LoadProcessprocess
stringendMessage
Returns
TypeDescription
LoadProcess

End(LoadProcess)

Declaration
    public static LoadProcess End(LoadProcess process)
Parameters
TypeNameDescription
LoadProcessprocess
Returns
TypeDescription
LoadProcess

End(LoadProcess, string)

Declaration
    public static LoadProcess End(LoadProcess process, string endMessage)
Parameters
TypeNameDescription
LoadProcessprocess
stringendMessage
Returns
TypeDescription
LoadProcess

EndProcess(string)

Declaration
    public LoadProcess EndProcess(string endMessage = "")
Parameters
TypeNameDescription
stringendMessage
Returns
TypeDescription
LoadProcess

Read(IConnectionManager, long)

Declaration
    public static LoadProcess Read(IConnectionManager connectionManager, long processId)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
longprocessId
Returns
TypeDescription
LoadProcess

Read(long)

Declaration
    public static LoadProcess Read(long processId)
Parameters
TypeNameDescription
longprocessId
Returns
TypeDescription
LoadProcess

ReadAll()

Declaration
    public static List<LoadProcess> ReadAll()
Returns
TypeDescription
List<LoadProcess>

ReadAll(IConnectionManager)

Declaration
    public static List<LoadProcess> ReadAll(IConnectionManager connectionManager)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
Returns
TypeDescription
List<LoadProcess>

ReadLastAborted()

Declaration
    public static LoadProcess ReadLastAborted()
Returns
TypeDescription
LoadProcess

ReadLastAborted(IConnectionManager)

Declaration
    public static LoadProcess ReadLastAborted(IConnectionManager connectionManager)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
Returns
TypeDescription
LoadProcess

ReadLastFinished()

Declaration
    public static LoadProcess ReadLastFinished()
Returns
TypeDescription
LoadProcess

ReadLastFinished(IConnectionManager)

Declaration
    public static LoadProcess ReadLastFinished(IConnectionManager connectionManager)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
Returns
TypeDescription
LoadProcess

ReadLastSuccessful()

Declaration
    public static LoadProcess ReadLastSuccessful()
Returns
TypeDescription
LoadProcess

ReadLastSuccessful(IConnectionManager)

Declaration
    public static LoadProcess ReadLastSuccessful(IConnectionManager connectionManager)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
Returns
TypeDescription
LoadProcess

ReadProcess(long)

Declaration
    public LoadProcess ReadProcess(long processId)
Parameters
TypeNameDescription
longprocessId
Returns
TypeDescription
LoadProcess

Start(IConnectionManager, string)

Declaration
    public static LoadProcess Start(IConnectionManager connectionManager, string processName)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringprocessName
Returns
TypeDescription
LoadProcess

Start(IConnectionManager, string, string)

Declaration
    public static LoadProcess Start(IConnectionManager connectionManager, string processName, string startMessage)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringprocessName
stringstartMessage
Returns
TypeDescription
LoadProcess

Start(IConnectionManager, string, string, long)

Declaration
    public static LoadProcess Start(IConnectionManager connectionManager, string processName, string startMessage, long sourceId)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringprocessName
stringstartMessage
longsourceId
Returns
TypeDescription
LoadProcess

Start(IConnectionManager, string, string, string)

Declaration
    public static LoadProcess Start(IConnectionManager connectionManager, string processName, string startMessage, string source)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringprocessName
stringstartMessage
stringsource
Returns
TypeDescription
LoadProcess

Start(string)

Declaration
    public static LoadProcess Start(string processName)
Parameters
TypeNameDescription
stringprocessName
Returns
TypeDescription
LoadProcess

Start(string, string)

Declaration
    public static LoadProcess Start(string processName, string startMessage)
Parameters
TypeNameDescription
stringprocessName
stringstartMessage
Returns
TypeDescription
LoadProcess

Start(string, string, long)

Declaration
    public static LoadProcess Start(string processName, string startMessage, long sourceId)
Parameters
TypeNameDescription
stringprocessName
stringstartMessage
longsourceId
Returns
TypeDescription
LoadProcess

Start(string, string, string)

Declaration
    public static LoadProcess Start(string processName, string startMessage, string source)
Parameters
TypeNameDescription
stringprocessName
stringstartMessage
stringsource
Returns
TypeDescription
LoadProcess

StartProcess(string)

Declaration
    public LoadProcess StartProcess(string startMessage = &quot;&quot;)
Parameters
TypeNameDescription
stringstartMessage
Returns
TypeDescription
LoadProcess

Implements