Пример #1
0
        // Methods
        public IUnitOfWorkScope Create()
        {
            // UnitOfWorkScope
            IUnitOfWorkScope unitOfWorkScope = new LockUnitOfWorkScope(_syncRoot, _unitOfWorkScopeProvider);

            // Return
            return(unitOfWorkScope);
        }
Пример #2
0
        // Methods
        public IUnitOfWorkScope Create()
        {
            // UnitOfWorkScope
            IUnitOfWorkScope unitOfWorkScope = new LockUnitOfWorkScope(_syncRoot, _unitOfWorkScopeProvider);

            // Return
            return unitOfWorkScope;
        }