C# Класс Rock.Model.ScheduleService

The data access/service class for the Rock.Model.Schedule entity. This inherits from the Service class
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetAttendance() публичный метод

Gets the attendance.
public GetAttendance ( Group group, ScheduleOccurrence occurrence ) : IQueryable
group Group The group.
occurrence ScheduleOccurrence The occurrence.
Результат IQueryable

GetGroupOccurrences() публичный метод

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].
Результат List

GetGroupOccurrences() публичный метод

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.
Результат List

LoadSummaryData() публичный метод

Loads the attendance data.
public LoadSummaryData ( Group group, ScheduleOccurrence occurrence ) : void
group Group The group.
occurrence ScheduleOccurrence The occurrence.
Результат void