/// <summary> /// Create a new ProductVendor object. /// </summary> /// <param name="productVendorID">Initial value of the ProductVendorID property.</param> public static ProductVendor CreateProductVendor(global::System.Int32 productVendorID) { ProductVendor productVendor = new ProductVendor(); productVendor.ProductVendorID = productVendorID; return(productVendor); }
/// <summary> /// Deprecated Method for adding a new object to the ProductVendors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductVendors(ProductVendor productVendor) { base.AddObject("ProductVendors", productVendor); }