C# Class Rock.Model.ScheduleService

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

Méthodes publiques

Méthode 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 méthode

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

GetGroupOccurrences() public méthode

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].
Résultat List

GetGroupOccurrences() public méthode

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.
Résultat List

LoadSummaryData() public méthode

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