public Database(string connection) { _context = new NileDbContext(connection); Products = new Products(_context); Customers = new Customers(_context); }
/// <summary>Initializes an instance of the <see cref="Customers"/> class.</summary> internal Customers(NileDbContext context) { _context = context; }
/// <summary>Initializes an instance of the <see cref="Products"/> class.</summary> internal Products(NileDbContext context) { _context = context; }