コード例 #1
0
 public static void CompleteRun(long runId, bool isSuccess, string statusMessage, int dataSetCount, int deltaCount)
 {
     using RunRepository repo = new RunRepository(new UnitOfWork(DatabaseUtil.GetConnection()));
     repo.Update(runId, isSuccess ? "SUCCESS" : "FAILURE", statusMessage, dataSetCount, deltaCount);
 }
コード例 #2
0
 public static long StartRun(long subscriptionId, string runMode)
 {
     using RunRepository repo = new RunRepository(new UnitOfWork(DatabaseUtil.GetConnection()));
     return(repo.Insert(new Run(subscriptionId, runMode)));
 }