public TUnitOfWork Create <TUnitOfWork, TSession>(IsolationLevel isolationLevel = IsolationLevel.Serializable) where TUnitOfWork : class, IUnitOfWork where TSession : class, ISession
 {
     return(_factory.CreateUnitOwWork <TUnitOfWork>(this, Create <TSession>(), isolationLevel, true));
 }
Esempio n. 2
0
 public T Create <T>(IDbFactory factory, ISession session) where T : class, IUnitOfWork
 {
     return(_factory.CreateUnitOwWork <T>(factory, session));
 }