public BaseRepository(LearnToLearnContext db) { this._db = db; _table = db.Set <T>(); }
public Repository(LearnToLearnContext context) { this.context = context; entitySet = context.Set <T>(); }
public BaseRepository() { this._db = new LearnToLearnContext(); _table = _db.Set <T>(); }