public ComputerController(ComputerContext context) { _context = context; }
private void ComputerButton_Click(object sender, EventArgs e) { ComputerContext.Show(ComputerButton, new Point(1, ComputerButton.Height - 1)); }
public BaseRepository(ComputerContext context) { Context = context; DbSet = Context.Set <TEntity>(); }
public Form1() { InitializeComponent(); comp = new ComputerContext(); }