public void Vol1_Dur0_2PC () { IntResourceManager irm = new IntResourceManager (1); using (TransactionScope scope = new TransactionScope ()) { irm.Value = 2; scope.Complete (); } irm.Check2PC ("irm"); }
public void Vol1_Dur0_2PC() { IntResourceManager irm = new IntResourceManager(1); using (TransactionScope scope = new TransactionScope()) { irm.Value = 2; scope.Complete(); } irm.Check2PC("irm"); }
public void Vol2_Dur0_SPC() { IntResourceManager irm = new IntResourceManager(1); IntResourceManager irm2 = new IntResourceManager(3); irm.UseSingle = true; irm2.UseSingle = true; using (TransactionScope scope = new TransactionScope()) { irm.Value = 2; irm2.Value = 6; scope.Complete(); } irm.Check2PC("irm"); irm2.Check2PC("irm2"); }
public void Vol2_Dur0_SPC () { IntResourceManager irm = new IntResourceManager (1); IntResourceManager irm2 = new IntResourceManager (3); irm.UseSingle = true; irm2.UseSingle = true; using (TransactionScope scope = new TransactionScope ()) { irm.Value = 2; irm2.Value = 6; scope.Complete (); } irm.Check2PC ( "irm" ); irm2.Check2PC ( "irm2" ); }