C# Class Rock.Model.ScheduleService

The data access/service class for the Rock.Model.Schedule entity. This inherits from the Service class
Mostrar archivo Open project: SparkDevNetwork/Rock Class Usage Examples

Public Methods

Method Description
GetAttendance ( Group group, ScheduleOccurrence occurrence ) : IQueryable

Gets the attendance.

GetGroupOccurrences ( Group group, System.DateTime fromDateTime, System.DateTime toDateTime, List locationIds, List scheduleIds, bool loadSummaryData ) : List

Gets occurrence data for the selected group

GetGroupOccurrences ( Group group, System.DateTime fromDateTime, System.DateTime toDateTime, List locationIds, List scheduleIds, bool loadSummaryData, int campusId ) : List

Gets occurrence data for the selected group

LoadSummaryData ( Group group, ScheduleOccurrence occurrence ) : void

Loads the attendance data.

Method Details

GetAttendance() public method

Gets the attendance.
public GetAttendance ( Group group, ScheduleOccurrence occurrence ) : IQueryable
group Group The group.
occurrence ScheduleOccurrence The occurrence.
return IQueryable

GetGroupOccurrences() public method

Gets occurrence data for the selected group
public GetGroupOccurrences ( Group group, System.DateTime fromDateTime, System.DateTime toDateTime, List locationIds, List scheduleIds, bool loadSummaryData ) : List
group Group The group.
fromDateTime System.DateTime From date time.
toDateTime System.DateTime To date time.
locationIds List The location ids.
scheduleIds List The schedule ids.
loadSummaryData bool if set to true [load summary data].
return List

GetGroupOccurrences() public method

Gets occurrence data for the selected group
public GetGroupOccurrences ( Group group, System.DateTime fromDateTime, System.DateTime toDateTime, List locationIds, List scheduleIds, bool loadSummaryData, int campusId ) : List
group Group The group.
fromDateTime System.DateTime From date time.
toDateTime System.DateTime To date time.
locationIds List The location ids.
scheduleIds List The schedule ids.
loadSummaryData bool if set to true [load summary data].
campusId int The campus identifier.
return List

LoadSummaryData() public method

Loads the attendance data.
public LoadSummaryData ( Group group, ScheduleOccurrence occurrence ) : void
group Group The group.
occurrence ScheduleOccurrence The occurrence.
return void