Beispiel #1
0
 public void ConflictTest()
 {
     Concurrency.DefaultControl();
     try
     {
         Concurrency.CheckModifiedDate();
         Assert.Fail();
     }
     catch (ChangeConflictException exception)
     {
         Trace.WriteLine(exception);
     }
     Concurrency.DatabaseWins();
     Concurrency.ClientWins();
     Concurrency.MergeClientAndDatabase();
 }