/// <summary> /// Deprecated Method for adding a new object to the ProductsLists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductsLists(ProductsList productsList) { base.AddObject("ProductsLists", productsList); }
/// <summary> /// Create a new ProductsList object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="product">Initial value of the Product property.</param> /// <param name="productsNumber">Initial value of the ProductsNumber property.</param> public static ProductsList CreateProductsList(global::System.Int32 id, global::System.Int32 product, global::System.Int32 productsNumber) { ProductsList productsList = new ProductsList(); productsList.ID = id; productsList.Product = product; productsList.ProductsNumber = productsNumber; return productsList; }