Exemple #1
0
        public UnitOfWork(Entity.SoftwareApplicationEntities dataContext)
        {
            if (dataContext == null)
            {
                throw new ArgumentNullException();
            }

            _dataContext = dataContext;
        }
 public GenericRepository(Entity.SoftwareApplicationEntities dataContext)
 {
     _dataContext = dataContext;
     _dbSet       = dataContext.Set <T>();
 }