/// <summary> /// Create a new vProductCatalog object. /// </summary> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="productNumber">Initial value of the ProductNumber property.</param> /// <param name="productName">Initial value of the ProductName property.</param> /// <param name="productModel">Initial value of the ProductModel property.</param> /// <param name="productCategory">Initial value of the ProductCategory property.</param> /// <param name="productSubcategory">Initial value of the ProductSubcategory property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="cultureID">Initial value of the CultureID property.</param> /// <param name="listPrice">Initial value of the ListPrice property.</param> /// <param name="id">Initial value of the ID property.</param> public static vProductCatalog CreatevProductCatalog(global::System.Int32 productID, global::System.String productNumber, global::System.String productName, global::System.String productModel, global::System.String productCategory, global::System.String productSubcategory, global::System.String description, global::System.String cultureID, global::System.Decimal listPrice, global::System.Int64 id) { vProductCatalog vProductCatalog = new vProductCatalog(); vProductCatalog.ProductID = productID; vProductCatalog.ProductNumber = productNumber; vProductCatalog.ProductName = productName; vProductCatalog.ProductModel = productModel; vProductCatalog.ProductCategory = productCategory; vProductCatalog.ProductSubcategory = productSubcategory; vProductCatalog.Description = description; vProductCatalog.CultureID = cultureID; vProductCatalog.ListPrice = listPrice; vProductCatalog.ID = id; return vProductCatalog; }
/// <summary> /// Deprecated Method for adding a new object to the ProductCatalog EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductCatalog(vProductCatalog vProductCatalog) { base.AddObject("ProductCatalog", vProductCatalog); }