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
System.Object
LoadProcessTask
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 LoadProcessTask : ControlFlowTask, ILoggableTask

Constructors

LoadProcessTask()

Declaration
    public LoadProcessTask()

LoadProcessTask(String)

Declaration
    public LoadProcessTask(string processName)
Parameters
TypeNameDescription
System.StringprocessName

LoadProcessTask(String, Int64)

Declaration
    public LoadProcessTask(string processName, long sourceId)
Parameters
TypeNameDescription
System.StringprocessName
System.Int64sourceId

LoadProcessTask(String, String)

Declaration
    public LoadProcessTask(string processName, string source)
Parameters
TypeNameDescription
System.StringprocessName
System.Stringsource

Fields

_tableName

Declaration
    public string _tableName
Field Value
TypeDescription
System.String

Properties

Process

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

TableName

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

TaskName

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

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
System.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
System.StringabortMessage
Returns
TypeDescription
LoadProcess

AbortProcess(String)

Declaration
    public LoadProcess AbortProcess(string abortMessage = "")
Parameters
TypeNameDescription
System.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
System.StringtableName

CreateTable(String)

Declaration
    public static void CreateTable(string tableName = "etlbox_loadprocess")
Parameters
TypeNameDescription
System.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
System.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
System.StringendMessage
Returns
TypeDescription
LoadProcess

EndProcess(String)

Declaration
    public LoadProcess EndProcess(string endMessage = "")
Parameters
TypeNameDescription
System.StringendMessage
Returns
TypeDescription
LoadProcess

Read(IConnectionManager, Int64)

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

Read(Int64)

Declaration
    public static LoadProcess Read(long processId)
Parameters
TypeNameDescription
System.Int64processId
Returns
TypeDescription
LoadProcess

ReadAll()

Declaration
    public static List<LoadProcess> ReadAll()
Returns
TypeDescription
System.Collections.Generic.List<LoadProcess>

ReadAll(IConnectionManager)

Declaration
    public static List<LoadProcess> ReadAll(IConnectionManager connectionManager)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
Returns
TypeDescription
System.Collections.Generic.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(Int64)

Declaration
    public LoadProcess ReadProcess(long processId)
Parameters
TypeNameDescription
System.Int64processId
Returns
TypeDescription
LoadProcess

Start(IConnectionManager, String)

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

Start(IConnectionManager, String, String)

Declaration
    public static LoadProcess Start(IConnectionManager connectionManager, string processName, string startMessage)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.StringprocessName
System.StringstartMessage
Returns
TypeDescription
LoadProcess

Start(IConnectionManager, String, String, Int64)

Declaration
    public static LoadProcess Start(IConnectionManager connectionManager, string processName, string startMessage, long sourceId)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.StringprocessName
System.StringstartMessage
System.Int64sourceId
Returns
TypeDescription
LoadProcess

Start(IConnectionManager, String, String, String)

Declaration
    public static LoadProcess Start(IConnectionManager connectionManager, string processName, string startMessage, string source)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.StringprocessName
System.StringstartMessage
System.Stringsource
Returns
TypeDescription
LoadProcess

Start(String)

Declaration
    public static LoadProcess Start(string processName)
Parameters
TypeNameDescription
System.StringprocessName
Returns
TypeDescription
LoadProcess

Start(String, String)

Declaration
    public static LoadProcess Start(string processName, string startMessage)
Parameters
TypeNameDescription
System.StringprocessName
System.StringstartMessage
Returns
TypeDescription
LoadProcess

Start(String, String, Int64)

Declaration
    public static LoadProcess Start(string processName, string startMessage, long sourceId)
Parameters
TypeNameDescription
System.StringprocessName
System.StringstartMessage
System.Int64sourceId
Returns
TypeDescription
LoadProcess

Start(String, String, String)

Declaration
    public static LoadProcess Start(string processName, string startMessage, string source)
Parameters
TypeNameDescription
System.StringprocessName
System.StringstartMessage
System.Stringsource
Returns
TypeDescription
LoadProcess

StartProcess(String)

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

Implements