/// <summary> /// Deprecated Method for adding a new object to the Products EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProducts(Product product) { base.AddObject("Products", product); }
/// <summary> /// Create a new Product object. /// </summary> /// <param name="prodCD">Initial value of the ProdCD property.</param> /// <param name="prodSetid">Initial value of the ProdSetid property.</param> /// <param name="prodTypeCD">Initial value of the ProdTypeCD property.</param> /// <param name="userTextFlag">Initial value of the UserTextFlag property.</param> public static Product CreateProduct(global::System.String prodCD, global::System.String prodSetid, global::System.String prodTypeCD, global::System.String userTextFlag) { Product product = new Product(); product.ProdCD = prodCD; product.ProdSetid = prodSetid; product.ProdTypeCD = prodTypeCD; product.UserTextFlag = userTextFlag; return product; }