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