/// <summary> /// Create a new FactFinance object. /// </summary> /// <param name="financeKey">Initial value of the FinanceKey property.</param> /// <param name="dateKey">Initial value of the DateKey property.</param> /// <param name="organizationKey">Initial value of the OrganizationKey property.</param> /// <param name="departmentGroupKey">Initial value of the DepartmentGroupKey property.</param> /// <param name="scenarioKey">Initial value of the ScenarioKey property.</param> /// <param name="accountKey">Initial value of the AccountKey property.</param> /// <param name="amount">Initial value of the Amount property.</param> public static FactFinance CreateFactFinance(global::System.Int32 financeKey, global::System.Int32 dateKey, global::System.Int32 organizationKey, global::System.Int32 departmentGroupKey, global::System.Int32 scenarioKey, global::System.Int32 accountKey, global::System.Double amount) { FactFinance factFinance = new FactFinance(); factFinance.FinanceKey = financeKey; factFinance.DateKey = dateKey; factFinance.OrganizationKey = organizationKey; factFinance.DepartmentGroupKey = departmentGroupKey; factFinance.ScenarioKey = scenarioKey; factFinance.AccountKey = accountKey; factFinance.Amount = amount; return factFinance; }
/// <summary> /// Deprecated Method for adding a new object to the FactFinances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFactFinances(FactFinance factFinance) { base.AddObject("FactFinances", factFinance); }