示例#1
0
 /// <summary>
 /// Publishes the post-commit notification.
 /// </summary>
 /// <param name="args"></param>
 public void PostCommit(EntityChangeSetPostCommitArgs args)
 {
     foreach (var listener in _listeners)
     {
         try
         {
             // might as well catch and log any exceptions thrown by PostCommit listeners,
             // because it is too late to abort the Commit
             listener.PostCommit(args);
         }
         catch (Exception e)
         {
             Platform.Log(LogLevel.Error, e);
         }
     }
 }
 public void PostCommit(EntityChangeSetPostCommitArgs args)
 {
 }