public UnitOfWork(FormDataBase context) { _dbContext = context; GettingValueRepository = new GettingValueRepository(_dbContext); FormCreatingRepository = new FormCreatingRepository(_dbContext); }
private void SearchBtn_Click(object sender, EventArgs e) { Form formDataBase = new FormDataBase(); formDataBase.ShowDialog(); }
public GettingValueRepository(FormDataBase dataBase) : base(dataBase) { }
public FormCreatingRepository(FormDataBase dataBase) : base(dataBase) { }
public Repository(FormDataBase context) { this.context = context; this.dbSet = context.Set <TEntity>(); }