コード例 #1
0
        public ProcurementRepository()
        {
            _context = new ProcurementEntities();
            _context.Configuration.ProxyCreationEnabled = true;
            _context.Configuration.LazyLoadingEnabled   = true;

            dbEntity = _context.Set <T>();
        }
コード例 #2
0
 public ProcurementRepository()
 {
     _context = new ProcurementEntities();
     dbEntity = _context.Set <T>();
 }