예제 #1
0
 public static OpenDbResult WhenError(this OpenDbResult result, Action <Exception> errorEvent)
 {
     result.OnError = errorEvent;
     return(result);
 }
예제 #2
0
 public static OpenDbResult ExecuteQuery(this OpenDbResult result)
 {
     result.Execute();
     return(result);
 }
예제 #3
0
 public static OpenDbResult WhenConcurrencyError(this OpenDbResult result, Action errorEvent)
 {
     result.OnConcurrencyError = errorEvent;
     return(result);
 }