Beispiel #1
0
 public void UpdateAll(int fuelOrderID)
 {
     FuelOrderFees.DeleteAll(fuelOrderID);
     foreach (FuelOrderFees fee in this)
     {
         fee.FuelOrderID = fuelOrderID;
     }
     ExecutionHelper.BulkInsert(this.GetAllWithPricingData().AsDataTable(), "dbo.FuelOrderFees", ExecutionHelper.GetConnectionString());
 }
Beispiel #2
0
 public void UpdateAll(int FuelOrderID)
 {
     FuelOrderTaxes.DeleteAll(FuelOrderID);
     foreach (FuelOrderTaxes tax in this)
     {
         tax.FuelOrderID = FuelOrderID;
     }
     ExecutionHelper.BulkInsert(this.GetAllWithPricingData().AsDataTable(),
                                "dbo.FuelOrderTaxes", ExecutionHelper.GetConnectionString());
 }