/// <summary> /// Deprecated Method for adding a new object to the ProductEditions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductEditions(ProductEdition productEdition) { base.AddObject("ProductEditions", productEdition); }
/// <summary> /// Create a new ProductEdition object. /// </summary> /// <param name="productEditionId">Initial value of the ProductEditionId property.</param> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="name">Initial value of the Name property.</param> public static ProductEdition CreateProductEdition(global::System.Int32 productEditionId, global::System.Int32 productId, global::System.String name) { ProductEdition productEdition = new ProductEdition(); productEdition.ProductEditionId = productEditionId; productEdition.ProductId = productId; productEdition.Name = name; return productEdition; }