/// <summary> /// Initializes a new instance of the <see cref="GenericRepository{T}" /> class. /// </summary> /// <param name="context">The context for the repository</param> public GenericRepository(OnADifferentNoteDbEntities context) { _context = context; _dbSet = _context.Set <T>(); }
public UnitOfWork() { _context = new OnADifferentNoteDbEntities(); }