Beispiel #1
0
 /// <summary>
 /// Returns new <see cref="IDataTransaction"/> that can be used for Inserting, Updating and Deleting entities
 /// imnidiatelly or at some other good time.
 /// </summary>
 public IDataTransaction BeginTransaction(IsolationLevel isolationLevel = IsolationLevel.ReadCommitted)
 {
     return(_factory.DataTransaction(Scheduler, isolationLevel));
 }
 /// <summary>
 /// Instantinate an <see cref="IDataTransaction"/>.
 /// This method will be called on each <see cref="IDataManager.BeginTransaction"/> call.
 /// </summary>
 public IDataTransaction DataTransaction(ITransactionScheduler scheduler, IsolationLevel isolationLevel)
 {
     return(_factory.DataTransaction(scheduler, isolationLevel));
 }