Esempio n. 1
0
        // Methods
        public IUnitOfWorkScope Create()
        {
            // UnitOfWorkScope
            IUnitOfWorkScope unitOfWorkScope = new LockUnitOfWorkScope(_syncRoot, _unitOfWorkScopeProvider);

            // Return
            return(unitOfWorkScope);
        }
        // Methods
        public IUnitOfWorkScope Create()
        {
            // UnitOfWorkScope
            IUnitOfWorkScope unitOfWorkScope = new LockUnitOfWorkScope(_syncRoot, _unitOfWorkScopeProvider);

            // Return
            return unitOfWorkScope;
        }