Class RecurringSubSeries
Inheritance
RecurringSubSeries
Assembly: SoDataBase.dll
Syntax
public class RecurringSubSeries
Constructors
RecurringSubSeries(InvitationRecordData)
Declaration
public RecurringSubSeries(InvitationRecordData invitationRecordData)
Parameters
Fields
AppointmentsInSeries
The records only contain DoBy, EndDate and AppointmentId data. The rest of the fields are not filled.
Declaration
public readonly List<AppointmentRecordData> AppointmentsInSeries
Field Value
InvitationRecordData
Declaration
public readonly InvitationRecordData InvitationRecordData
Field Value
Properties
InvitationAppointmentDoBy
Declaration
public DateTime InvitationAppointmentDoBy { get; }
Property Value
InvitationAppointmentId
Declaration
public int InvitationAppointmentId { get; }
Property Value
Methods
ConvertToRecurrenceDateTime(DateTime)
Creates a new datetime using the date-component from date
, and the time-components from the RecurrenceStartDate and RecurrenceEndDate of the InvitationRow of the subseries.
Declaration
public Tuple<DateTime, DateTime> ConvertToRecurrenceDateTime(DateTime date)
Parameters
Returns
CreateStartEndDateTimesForRecurrenceFirstDay(DateTime, DateTime)
Creates new start and end recurrence times, using the time-component from startTime
and endTime
.
Declaration
public Tuple<DateTime, DateTime> CreateStartEndDateTimesForRecurrenceFirstDay(DateTime startTime, DateTime endTime)
Parameters
Returns
GetAppointmentRecordData(int)
Declaration
public AppointmentRecordData GetAppointmentRecordData(int appointmentId)
Parameters
Type |
Name |
Description |
int |
appointmentId |
|
Returns
GetDivergentAppointments()
Declaration
public List<AppointmentRecordData> GetDivergentAppointments()
Returns
GetNonDivergentAppointments()
Declaration
public List<AppointmentRecordData> GetNonDivergentAppointments()
Returns
IsDivergentInSeries(AppointmentRecordData)
Declaration
public bool IsDivergentInSeries(AppointmentRecordData appointmentRecord)
Parameters
Returns
IsDivergentInSeries(DateTime)
Declaration
public bool IsDivergentInSeries(DateTime doBy)
Parameters
Returns
IsDivergentInSeries(int)
Declaration
public bool IsDivergentInSeries(int appointmentId)
Parameters
Type |
Name |
Description |
int |
appointmentId |
|
Returns
TryGetIndexOfAppointmentIdInSeries(int, out int)
Declaration
public bool TryGetIndexOfAppointmentIdInSeries(int appointmentId, out int index)
Parameters
Type |
Name |
Description |
int |
appointmentId |
|
int |
index |
|
Returns
UpdateInvitationRootAppointmentId(int)
Declaration
public void UpdateInvitationRootAppointmentId(int appointmentId)
Parameters
Type |
Name |
Description |
int |
appointmentId |
|
UpdateRecurringStartDate(DateTime)
Declaration
public void UpdateRecurringStartDate(DateTime recurringStartDate)
Parameters
Type |
Name |
Description |
DateTime |
recurringStartDate |
|
Extension Methods