private static void AddNewRecords(IList <Inventory> cars)
 {
     using (var repo = new InventoryRepo())
     {
         repo.AddRange(cars);
     }
 }
Exemplo n.º 2
0
 private static void AddNewRecords(IList<Inventory> cars)
 {
     // Add record to the Inventory table of the AutoLot database.
     using (var repo = new InventoryRepo())
     {
         repo.AddRange(cars);
     }
 }
Exemplo n.º 3
0
 private static void AddNewRecords(IList <Inventory> cars)
 {
     //Add Records to the inventory table of the Autolot
     //database
     using (var repo = new InventoryRepo())
     {
         repo.AddRange(cars);
     }
 }