Exemplo n.º 1
0
        public EntityFrameworkUnitOfWork(DbContext dbContext)
        {
            if (dbContext == null)
            {
                throw new ArgumentNullException(nameof(dbContext));
            }

            this.dbContext  = dbContext;
            this.repository = new EntityFrameworkRepository(dbContext);
        }