예제 #1
0
파일: DbTask.cs 프로젝트: lmm713281/etlbox
 public DbTask(string name, FileConnectionManager fileConnection) : this(name) {
     this.FileConnection = fileConnection;
 }
예제 #2
0
 public static int ExecuteNonQuery(string name, FileConnectionManager fileConnection) => new XmlaTask(name, fileConnection).ExecuteNonQuery();
예제 #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();
예제 #4
0
 public XmlaTask(string name, FileConnectionManager fileConnection) : base(name, fileConnection)
 {
     Init();
 }