/// <summary> /// Deprecated Method for adding a new object to the ProductModelIllustrations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductModelIllustrations(ProductModelIllustration productModelIllustration) { base.AddObject("ProductModelIllustrations", productModelIllustration); }
/// <summary> /// Create a new ProductModelIllustration object. /// </summary> /// <param name="productModelID">Initial value of the ProductModelID property.</param> /// <param name="illustrationID">Initial value of the IllustrationID property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static ProductModelIllustration CreateProductModelIllustration(global::System.Int32 productModelID, global::System.Int32 illustrationID, global::System.DateTime modifiedDate) { ProductModelIllustration productModelIllustration = new ProductModelIllustration(); productModelIllustration.ProductModelID = productModelID; productModelIllustration.IllustrationID = illustrationID; productModelIllustration.ModifiedDate = modifiedDate; return productModelIllustration; }