/// <summary> /// Create a new Product object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="iDDivision">Initial value of the IDDivision property.</param> /// <param name="materialCode">Initial value of the MaterialCode property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="manual">Initial value of the Manual property.</param> /// <param name="cIV">Initial value of the CIV property.</param> /// <param name="stock">Initial value of the Stock property.</param> /// <param name="stockLessPipe">Initial value of the StockLessPipe property.</param> /// <param name="inTransit">Initial value of the InTransit property.</param> /// <param name="intID">Initial value of the intID property.</param> public static Product CreateProduct(global::System.Guid id, global::System.Guid iDDivision, global::System.String materialCode, global::System.String status, global::System.Boolean manual, global::System.Decimal cIV, global::System.Int32 stock, global::System.Int32 stockLessPipe, global::System.Int32 inTransit, global::System.Int32 intID) { Product product = new Product(); product.ID = id; product.IDDivision = iDDivision; product.MaterialCode = materialCode; product.Status = status; product.Manual = manual; product.CIV = cIV; product.Stock = stock; product.StockLessPipe = stockLessPipe; product.InTransit = inTransit; product.intID = intID; return product; }
/// <summary> /// Deprecated Method for adding a new object to the Product EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProduct(Product product) { base.AddObject("Product", product); }