/// <summary> /// Deprecated Method for adding a new object to the DimProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDimProducts(DimProduct dimProduct) { base.AddObject("DimProducts", dimProduct); }
/// <summary> /// Create a new DimProduct object. /// </summary> /// <param name="productKey">Initial value of the ProductKey property.</param> /// <param name="englishProductName">Initial value of the EnglishProductName property.</param> /// <param name="spanishProductName">Initial value of the SpanishProductName property.</param> /// <param name="frenchProductName">Initial value of the FrenchProductName property.</param> /// <param name="finishedGoodsFlag">Initial value of the FinishedGoodsFlag property.</param> /// <param name="color">Initial value of the Color property.</param> public static DimProduct CreateDimProduct(global::System.Int32 productKey, global::System.String englishProductName, global::System.String spanishProductName, global::System.String frenchProductName, global::System.Boolean finishedGoodsFlag, global::System.String color) { DimProduct dimProduct = new DimProduct(); dimProduct.ProductKey = productKey; dimProduct.EnglishProductName = englishProductName; dimProduct.SpanishProductName = spanishProductName; dimProduct.FrenchProductName = frenchProductName; dimProduct.FinishedGoodsFlag = finishedGoodsFlag; dimProduct.Color = color; return dimProduct; }