/// <summary> /// Deprecated Method for adding a new object to the bvc_Sale EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_Sale(bvc_Sale bvc_Sale) { base.AddObject("bvc_Sale", bvc_Sale); }
/// <summary> /// Create a new bvc_Sale object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="saleType">Initial value of the SaleType property.</param> /// <param name="discountType">Initial value of the DiscountType property.</param> /// <param name="allowSaleBelowCost">Initial value of the AllowSaleBelowCost property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="endDate">Initial value of the EndDate property.</param> public static bvc_Sale Createbvc_Sale(global::System.Int32 id, global::System.Int32 saleType, global::System.Int32 discountType, global::System.Int32 allowSaleBelowCost, global::System.Double amount, global::System.DateTime startDate, global::System.DateTime endDate) { bvc_Sale bvc_Sale = new bvc_Sale(); bvc_Sale.ID = id; bvc_Sale.SaleType = saleType; bvc_Sale.DiscountType = discountType; bvc_Sale.AllowSaleBelowCost = allowSaleBelowCost; bvc_Sale.Amount = amount; bvc_Sale.StartDate = startDate; bvc_Sale.EndDate = endDate; return bvc_Sale; }