public void Batch(Action<NHTestDataActions> action)
 {
     using (var nhTx = _session.BeginTransaction())
     {
         var dataActions = new NHTestDataActions(this);
         action(dataActions);
         nhTx.Commit();
     }
 }
Exemple #2
0
 public void Batch(Action <NHTestDataActions> action)
 {
     using (var nhTx = _session.BeginTransaction())
     {
         var dataActions = new NHTestDataActions(this);
         action(dataActions);
         nhTx.Commit();
     }
 }