public AddBookForm() { InitializeComponent(); _context = new MyLibraryDbContext(); fillcomboboxgenre(); fillcomboboxauthor(); }
public dashboardForm() { _context = new MyLibraryDbContext(); InitializeComponent(); }
public AddGenre() { InitializeComponent(); _context = new MyLibraryDbContext(); }
public AddCustomerForm() { InitializeComponent(); _context = new MyLibraryDbContext(); }
public LoginForm() { _context = new MyLibraryDbContext(); InitializeComponent(); }
public UnitOfWork(MyLibraryDbContext context) { _context = context; }
public AddAuthorForm() { _context = new MyLibraryDbContext(); InitializeComponent(); }
public Repository(MyLibraryDbContext context) { _context = context; _dbSet = context.Set <TEntity>(); }