Class XmlaTask

This task can exeucte any XMLA.

Inheritance
System.Object
XmlaTask
Implements
Namespace: ETLBox.ControlFlow.Tasks
Assembly: ETLBox.dll
Syntax
    public class XmlaTask : DbTask, ILoggableTask
Examples
XmlaTask.ExecuteNonQuery("Log description here","Xmla goes here...")

Constructors

XmlaTask()

Declaration
    public XmlaTask()

XmlaTask(String)

Declaration
    public XmlaTask(string xmla)
Parameters
TypeNameDescription
System.Stringxmla

XmlaTask(String, Action, Action, Action<Object>[])

Declaration
    public XmlaTask(string xmla, Action beforeRowReadAction, Action afterRowReadAction, params Action<object>[] actions)
Parameters
TypeNameDescription
System.Stringxmla
System.ActionbeforeRowReadAction
System.ActionafterRowReadAction
System.Action<System.Object>[]actions

XmlaTask(String, Action<Object>[])

Declaration
    public XmlaTask(string xmla, params Action<object>[] actions)
Parameters
TypeNameDescription
System.Stringxmla
System.Action<System.Object>[]actions

XmlaTask(String, String)

Declaration
    public XmlaTask(string name, string xmla)
Parameters
TypeNameDescription
System.Stringname
System.Stringxmla

Properties

TaskName

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

Methods

ExecuteNonQuery(IConnectionManager, String)

Declaration
    public static int ExecuteNonQuery(IConnectionManager connectionManager, string xmla)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.Stringxmla
Returns
TypeDescription
System.Int32

ExecuteNonQuery(String)

Declaration
    public static int ExecuteNonQuery(string xmla)
Parameters
TypeNameDescription
System.Stringxmla
Returns
TypeDescription
System.Int32

ExecuteReader(IConnectionManager, String, Action, Action, Action<Object>[])

Declaration
    public static void ExecuteReader(IConnectionManager connectionManager, string xmla, Action beforeRowReadAction, Action afterRowReadAction, params Action<object>[] actions)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.Stringxmla
System.ActionbeforeRowReadAction
System.ActionafterRowReadAction
System.Action<System.Object>[]actions

ExecuteReader(IConnectionManager, String, Action<Object>[])

Declaration
    public static void ExecuteReader(IConnectionManager connectionManager, string xmla, params Action<object>[] actions)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.Stringxmla
System.Action<System.Object>[]actions

ExecuteReader(String, Action, Action, Action<Object>[])

Declaration
    public static void ExecuteReader(string xmla, Action beforeRowReadAction, Action afterRowReadAction, params Action<object>[] actions)
Parameters
TypeNameDescription
System.Stringxmla
System.ActionbeforeRowReadAction
System.ActionafterRowReadAction
System.Action<System.Object>[]actions

ExecuteReader(String, Action<Object>[])

Declaration
    public static void ExecuteReader(string xmla, params Action<object>[] actions)
Parameters
TypeNameDescription
System.Stringxmla
System.Action<System.Object>[]actions

ExecuteScalar(IConnectionManager, String)

Declaration
    public static object ExecuteScalar(IConnectionManager connectionManager, string xmla)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.Stringxmla
Returns
TypeDescription
System.Object

ExecuteScalar(String)

Declaration
    public static object ExecuteScalar(string xmla)
Parameters
TypeNameDescription
System.Stringxmla
Returns
TypeDescription
System.Object

ExecuteScalar<T>(IConnectionManager, String)

Declaration
    public static T? ExecuteScalar<T>(IConnectionManager connectionManager, string xmla)
    where T : struct
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.Stringxmla
Returns
TypeDescription
System.Nullable<T>
Type Parameters
NameDescription
T

ExecuteScalar<T>(String)

Declaration
    public static T? ExecuteScalar<T>(string xmla)
    where T : struct
Parameters
TypeNameDescription
System.Stringxmla
Returns
TypeDescription
System.Nullable<T>
Type Parameters
NameDescription
T

ExecuteScalarAsBool(IConnectionManager, String)

Declaration
    public static bool ExecuteScalarAsBool(IConnectionManager connectionManager, string xmla)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.Stringxmla
Returns
TypeDescription
System.Boolean

ExecuteScalarAsBool(String)

Declaration
    public static bool ExecuteScalarAsBool(string xmla)
Parameters
TypeNameDescription
System.Stringxmla
Returns
TypeDescription
System.Boolean

Implements