/// <summary>
 /// Deprecated Method for adding a new object to the VehicleDiscounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVehicleDiscounts(VehicleDiscount vehicleDiscount)
 {
     base.AddObject("VehicleDiscounts", vehicleDiscount);
 }
 /// <summary>
 /// Create a new VehicleDiscount object.
 /// </summary>
 /// <param name="discountId">Initial value of the DiscountId property.</param>
 /// <param name="stateId">Initial value of the StateId property.</param>
 /// <param name="vehicleId">Initial value of the VehicleId property.</param>
 /// <param name="appliedDiscountValue">Initial value of the AppliedDiscountValue property.</param>
 public static VehicleDiscount CreateVehicleDiscount(global::System.Int32 discountId, global::System.Int32 stateId, global::System.Int32 vehicleId, global::System.Decimal appliedDiscountValue)
 {
     VehicleDiscount vehicleDiscount = new VehicleDiscount();
     vehicleDiscount.DiscountId = discountId;
     vehicleDiscount.StateId = stateId;
     vehicleDiscount.VehicleId = vehicleId;
     vehicleDiscount.AppliedDiscountValue = appliedDiscountValue;
     return vehicleDiscount;
 }