// Methods public IUnitOfWorkScope Create() { // TransactionScope SqlTransactionScope transactionScope = new SqlTransactionScope(); // UnitOfWorkScope IUnitOfWorkScope unitOfWorkScope = new SqlUnitOfWorkScope(transactionScope); // Return return unitOfWorkScope; }
// Methods public IUnitOfWorkScope Create() { // TransactionScope SqlTransactionScope transactionScope = new SqlTransactionScope(); // UnitOfWorkScope IUnitOfWorkScope unitOfWorkScope = new SqlUnitOfWorkScope(transactionScope); // Return return(unitOfWorkScope); }