/// <summary> /// Deprecated Method for adding a new object to the ProductDescription EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductDescription(ProductDescription productDescription) { base.AddObject("ProductDescription", productDescription); }
/// <summary> /// Create a new ProductDescription object. /// </summary> /// <param name="productDescriptionID">Initial value of the ProductDescriptionID property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static ProductDescription CreateProductDescription(global::System.Int32 productDescriptionID, global::System.String description, global::System.Guid rowguid, global::System.DateTime modifiedDate) { ProductDescription productDescription = new ProductDescription(); productDescription.ProductDescriptionID = productDescriptionID; productDescription.Description = description; productDescription.rowguid = rowguid; productDescription.ModifiedDate = modifiedDate; return productDescription; }