Beispiel #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);
 }
Beispiel #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)));
 }