コード例 #1
0
 public Database(string connection)
 {
     _context  = new NileDbContext(connection);
     Products  = new Products(_context);
     Customers = new Customers(_context);
 }
コード例 #2
0
ファイル: Customers.cs プロジェクト: 0penSystem/Lab-3-Starter
 /// <summary>Initializes an instance of the <see cref="Customers"/> class.</summary>
 internal Customers(NileDbContext context)
 {
     _context = context;
 }
コード例 #3
0
ファイル: Products.cs プロジェクト: 0penSystem/Lab-3-Starter
 /// <summary>Initializes an instance of the <see cref="Products"/> class.</summary>
 internal Products(NileDbContext context)
 {
     _context = context;
 }