/// <summary> /// Deprecated Method for adding a new object to the FactSalesQuotas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFactSalesQuotas(FactSalesQuota factSalesQuota) { base.AddObject("FactSalesQuotas", factSalesQuota); }
/// <summary> /// Create a new FactSalesQuota object. /// </summary> /// <param name="salesQuotaKey">Initial value of the SalesQuotaKey property.</param> /// <param name="employeeKey">Initial value of the EmployeeKey property.</param> /// <param name="dateKey">Initial value of the DateKey property.</param> /// <param name="calendarYear">Initial value of the CalendarYear property.</param> /// <param name="calendarQuarter">Initial value of the CalendarQuarter property.</param> /// <param name="salesAmountQuota">Initial value of the SalesAmountQuota property.</param> public static FactSalesQuota CreateFactSalesQuota(global::System.Int32 salesQuotaKey, global::System.Int32 employeeKey, global::System.Int32 dateKey, global::System.Int16 calendarYear, global::System.Byte calendarQuarter, global::System.Decimal salesAmountQuota) { FactSalesQuota factSalesQuota = new FactSalesQuota(); factSalesQuota.SalesQuotaKey = salesQuotaKey; factSalesQuota.EmployeeKey = employeeKey; factSalesQuota.DateKey = dateKey; factSalesQuota.CalendarYear = calendarYear; factSalesQuota.CalendarQuarter = calendarQuarter; factSalesQuota.SalesAmountQuota = salesAmountQuota; return factSalesQuota; }