/// <summary> /// Deprecated Method for adding a new object to the vProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovProducts(vProduct vProduct) { base.AddObject("vProducts", vProduct); }
/// <summary> /// Create a new vProduct object. /// </summary> /// <param name="productID">Initial value of the ProductID property.</param> public static vProduct CreatevProduct(global::System.Int32 productID) { vProduct vProduct = new vProduct(); vProduct.ProductID = productID; return vProduct; }