//protected DbSet<T> DbSet { get; set; } public DropDownValues(MAS_DB MAS_DbContext) { Context = MAS_DbContext; //DbSet = Context.Set<T>(); //DbSet.AsNoTracking(); }
public Repository(MAS_DB context) { Context = context; DbSet = Context.Set <TEntity>(); DbSet.AsNoTracking(); }
public void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
public MAEFRepository(MAS_DB context) : base(context) { }
public POSRepository(MAS_DB context) : base(context) { }
public RequestRepository(MAS_DB context) : base(context) { }
public BranchRepository(MAS_DB context) : base(context) { }
public NewAffiliationRepository(MAS_DB context) : base(context) { }