/// <summary> /// Deprecated Method for adding a new object to the DimDates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDimDates(DimDate dimDate) { base.AddObject("DimDates", dimDate); }
/// <summary> /// Create a new DimDate object. /// </summary> /// <param name="dateKey">Initial value of the DateKey property.</param> /// <param name="fullDateAlternateKey">Initial value of the FullDateAlternateKey property.</param> /// <param name="dayNumberOfWeek">Initial value of the DayNumberOfWeek property.</param> /// <param name="englishDayNameOfWeek">Initial value of the EnglishDayNameOfWeek property.</param> /// <param name="spanishDayNameOfWeek">Initial value of the SpanishDayNameOfWeek property.</param> /// <param name="frenchDayNameOfWeek">Initial value of the FrenchDayNameOfWeek property.</param> /// <param name="dayNumberOfMonth">Initial value of the DayNumberOfMonth property.</param> /// <param name="dayNumberOfYear">Initial value of the DayNumberOfYear property.</param> /// <param name="weekNumberOfYear">Initial value of the WeekNumberOfYear property.</param> /// <param name="englishMonthName">Initial value of the EnglishMonthName property.</param> /// <param name="spanishMonthName">Initial value of the SpanishMonthName property.</param> /// <param name="frenchMonthName">Initial value of the FrenchMonthName property.</param> /// <param name="monthNumberOfYear">Initial value of the MonthNumberOfYear property.</param> /// <param name="calendarQuarter">Initial value of the CalendarQuarter property.</param> /// <param name="calendarYear">Initial value of the CalendarYear property.</param> /// <param name="calendarSemester">Initial value of the CalendarSemester property.</param> /// <param name="fiscalQuarter">Initial value of the FiscalQuarter property.</param> /// <param name="fiscalYear">Initial value of the FiscalYear property.</param> /// <param name="fiscalSemester">Initial value of the FiscalSemester property.</param> public static DimDate CreateDimDate(global::System.Int32 dateKey, global::System.DateTime fullDateAlternateKey, global::System.Byte dayNumberOfWeek, global::System.String englishDayNameOfWeek, global::System.String spanishDayNameOfWeek, global::System.String frenchDayNameOfWeek, global::System.Byte dayNumberOfMonth, global::System.Int16 dayNumberOfYear, global::System.Byte weekNumberOfYear, global::System.String englishMonthName, global::System.String spanishMonthName, global::System.String frenchMonthName, global::System.Byte monthNumberOfYear, global::System.Byte calendarQuarter, global::System.Int16 calendarYear, global::System.Byte calendarSemester, global::System.Byte fiscalQuarter, global::System.Int16 fiscalYear, global::System.Byte fiscalSemester) { DimDate dimDate = new DimDate(); dimDate.DateKey = dateKey; dimDate.FullDateAlternateKey = fullDateAlternateKey; dimDate.DayNumberOfWeek = dayNumberOfWeek; dimDate.EnglishDayNameOfWeek = englishDayNameOfWeek; dimDate.SpanishDayNameOfWeek = spanishDayNameOfWeek; dimDate.FrenchDayNameOfWeek = frenchDayNameOfWeek; dimDate.DayNumberOfMonth = dayNumberOfMonth; dimDate.DayNumberOfYear = dayNumberOfYear; dimDate.WeekNumberOfYear = weekNumberOfYear; dimDate.EnglishMonthName = englishMonthName; dimDate.SpanishMonthName = spanishMonthName; dimDate.FrenchMonthName = frenchMonthName; dimDate.MonthNumberOfYear = monthNumberOfYear; dimDate.CalendarQuarter = calendarQuarter; dimDate.CalendarYear = calendarYear; dimDate.CalendarSemester = calendarSemester; dimDate.FiscalQuarter = fiscalQuarter; dimDate.FiscalYear = fiscalYear; dimDate.FiscalSemester = fiscalSemester; return dimDate; }