/// <summary> /// Deprecated Method for adding a new object to the ProductTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductTypes(ProductType productType) { base.AddObject("ProductTypes", productType); }
/// <summary> /// Create a new ProductType object. /// </summary> /// <param name="prodTypeCD">Initial value of the ProdTypeCD property.</param> /// <param name="serializedFlag">Initial value of the SerializedFlag property.</param> /// <param name="finishedFlag">Initial value of the FinishedFlag property.</param> /// <param name="costFlag">Initial value of the CostFlag property.</param> /// <param name="dIFlag">Initial value of the DIFlag property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="consumedFlag">Initial value of the ConsumedFlag property.</param> /// <param name="installerRequired">Initial value of the InstallerRequired property.</param> public static ProductType CreateProductType(global::System.String prodTypeCD, global::System.String serializedFlag, global::System.String finishedFlag, global::System.String costFlag, global::System.String dIFlag, global::System.String status, global::System.String consumedFlag, global::System.String installerRequired) { ProductType productType = new ProductType(); productType.ProdTypeCD = prodTypeCD; productType.SerializedFlag = serializedFlag; productType.FinishedFlag = finishedFlag; productType.CostFlag = costFlag; productType.DIFlag = dIFlag; productType.Status = status; productType.ConsumedFlag = consumedFlag; productType.InstallerRequired = installerRequired; return productType; }