/// <summary> /// Deprecated Method for adding a new object to the ProductModelProductDescriptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductModelProductDescriptions(ProductModelProductDescription productModelProductDescription) { base.AddObject("ProductModelProductDescriptions", productModelProductDescription); }
/// <summary> /// Create a new ProductModelProductDescription object. /// </summary> /// <param name="productModelID">Initial value of the ProductModelID property.</param> /// <param name="productDescriptionID">Initial value of the ProductDescriptionID property.</param> /// <param name="culture">Initial value of the Culture property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static ProductModelProductDescription CreateProductModelProductDescription(global::System.Int32 productModelID, global::System.Int32 productDescriptionID, global::System.String culture, global::System.Guid rowguid, global::System.DateTime modifiedDate) { ProductModelProductDescription productModelProductDescription = new ProductModelProductDescription(); productModelProductDescription.ProductModelID = productModelID; productModelProductDescription.ProductDescriptionID = productDescriptionID; productModelProductDescription.Culture = culture; productModelProductDescription.rowguid = rowguid; productModelProductDescription.ModifiedDate = modifiedDate; return productModelProductDescription; }