/// <summary> /// Create a new SpecialOfferProduct object. /// </summary> /// <param name="specialOfferID">Initial value of the SpecialOfferID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static SpecialOfferProduct CreateSpecialOfferProduct(global::System.Int32 specialOfferID, global::System.Int32 productID, global::System.Guid rowguid, global::System.DateTime modifiedDate) { SpecialOfferProduct specialOfferProduct = new SpecialOfferProduct(); specialOfferProduct.SpecialOfferID = specialOfferID; specialOfferProduct.ProductID = productID; specialOfferProduct.rowguid = rowguid; specialOfferProduct.ModifiedDate = modifiedDate; return specialOfferProduct; }
/// <summary> /// Deprecated Method for adding a new object to the SpecialOfferProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSpecialOfferProducts(SpecialOfferProduct specialOfferProduct) { base.AddObject("SpecialOfferProducts", specialOfferProduct); }