/// <summary> /// Deprecated Method for adding a new object to the DimCurrencies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDimCurrencies(DimCurrency dimCurrency) { base.AddObject("DimCurrencies", dimCurrency); }
/// <summary> /// Create a new DimCurrency object. /// </summary> /// <param name="currencyKey">Initial value of the CurrencyKey property.</param> /// <param name="currencyAlternateKey">Initial value of the CurrencyAlternateKey property.</param> /// <param name="currencyName">Initial value of the CurrencyName property.</param> public static DimCurrency CreateDimCurrency(global::System.Int32 currencyKey, global::System.String currencyAlternateKey, global::System.String currencyName) { DimCurrency dimCurrency = new DimCurrency(); dimCurrency.CurrencyKey = currencyKey; dimCurrency.CurrencyAlternateKey = currencyAlternateKey; dimCurrency.CurrencyName = currencyName; return dimCurrency; }