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