/// <summary> /// Create a new Products2 object. /// </summary> /// <param name="productNumber">Initial value of the ProductNumber property.</param> /// <param name="containerFormatId">Initial value of the ContainerFormatId property.</param> /// <param name="substanceId">Initial value of the SubstanceId property.</param> public static Products2 CreateProducts2(global::System.Int32 productNumber, global::System.Int32 containerFormatId, global::System.Int32 substanceId) { Products2 products2 = new Products2(); products2.ProductNumber = productNumber; products2.ContainerFormatId = containerFormatId; products2.SubstanceId = substanceId; return products2; }
/// <summary> /// Deprecated Method for adding a new object to the Products2 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProducts2(Products2 products2) { base.AddObject("Products2", products2); }