Example #1
0
        /// <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);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductVendors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductVendors(ProductVendor productVendor)
 {
     base.AddObject("ProductVendors", productVendor);
 }