示例#1
0
 public BaseRepository(GotFiredDbContext context)
 {
     _context = context;
     _dbSet   = context.Set <T>();
 }
示例#2
0
        //public ObservableCollection<T> Local;

        public GenericRepository(GotFiredDbContext context) : base(context)
        {
            Context = context;
            DbSet   = context.Set <T>();
            //Local = context.Set<T>().Local;
        }