Example #1
0
 public DbTask(string name, FileConnectionManager fileConnection) : this(name) {
     this.FileConnection = fileConnection;
 }
Example #2
0
 public static int ExecuteNonQuery(string name, FileConnectionManager fileConnection) => new SqlTask(name, fileConnection).ExecuteNonQuery();
Example #3
0
 public static void ExecuteReader(string name, FileConnectionManager fileConnection, Action beforeRowReadAction, Action afterRowReadAction, params Action <object>[] actions) =>
 new XmlaTask(name, fileConnection)
 {
     BeforeRowReadAction = beforeRowReadAction, AfterRowReadAction = afterRowReadAction, Actions = actions.ToList()
 }.ExecuteReader();
Example #4
0
 public SqlTask(string name, FileConnectionManager fileConnection) : base(name, fileConnection)
 {
 }
Example #5
0
 public XmlaTask(string name, FileConnectionManager fileConnection) : base(name, fileConnection)
 {
     Init();
 }