/// <summary> /// Create a new ProductExtraCostType object. /// </summary> /// <param name="extraCostTypeID">Initial value of the ExtraCostTypeID property.</param> /// <param name="typeName">Initial value of the TypeName property.</param> public static ProductExtraCostType CreateProductExtraCostType(global::System.Int16 extraCostTypeID, global::System.String typeName) { ProductExtraCostType productExtraCostType = new ProductExtraCostType(); productExtraCostType.ExtraCostTypeID = extraCostTypeID; productExtraCostType.TypeName = typeName; return productExtraCostType; }
/// <summary> /// Deprecated Method for adding a new object to the ProductExtraCostTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductExtraCostTypes(ProductExtraCostType productExtraCostType) { base.AddObject("ProductExtraCostTypes", productExtraCostType); }