C# 클래스 Rock.Model.AttendanceService

Data Access/Service class for Rock.Model.Attendance entity objects
파일 보기 프로젝트 열기: SparkDevNetwork/Rock 1 사용 예제들

공개 메소드들

메소드 설명
Get ( System.DateTime date, int locationId, int scheduleId, int groupId, int personId ) : Attendance

Returns a specific Rock.Model.Attendance record.

GetAttendanceAnalyticsAttendeeDates ( List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds ) : DataSet

Gets the attendance analytics attendee dates.

GetAttendanceAnalyticsAttendeeFirstDates ( List GroupTypeIds, List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds ) : DataSet

Gets the attendance analytics attendee first dates.

GetAttendanceAnalyticsAttendeeLastAttendance ( List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds ) : DataSet

Gets the attendance analytics attendee last attendance.

GetAttendanceAnalyticsAttendees ( List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds, bool IncludeParentsWithChild, bool IncludeChildrenWithParents ) : DataSet

Gets the attendance analytics attendees.

GetAttendanceAnalyticsNonAttendees ( List GroupTypeIds, List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds, bool IncludeParentsWithChild, bool IncludeChildrenWithParents ) : DataSet

Gets the attendance analytics non attendees.

GetByDateAndLocation ( System.DateTime date, int locationId ) : IQueryable

Returns a queryable collection of Rock.Model.Attendance for a Rock.Model.Location on a specified date.

GetChartData ( ChartGroupBy groupBy, AttendanceGraphBy graphBy, System.DateTime startDate, System.DateTime endDate, string groupIds, string campusIds, int dataViewId ) : IEnumerable

Gets the chart data.

GetChartData ( ChartGroupBy groupBy = ChartGroupBy.Week, AttendanceGraphBy graphBy = AttendanceGraphBy.Total, System.DateTime startDate = null, System.DateTime endDate = null, string groupIds = null, string campusIds = null, int dataViewId = null, string scheduleIds = null ) : IEnumerable

Gets the chart data.

비공개 메소드들

메소드 설명
GetAttendanceAnalyticsParameters ( List GroupTypeIds, List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds, bool IncludeParentsWithChild = null, bool IncludeChildrenWithParents = null ) : object>.Dictionary

메소드 상세

Get() 공개 메소드

Returns a specific Rock.Model.Attendance record.
public Get ( System.DateTime date, int locationId, int scheduleId, int groupId, int personId ) : Attendance
date System.DateTime A representing the the date attended.
locationId int A representing the Id of the
scheduleId int A representing the Id of the
groupId int A representing the Id of the .
personId int A representing the Id of the
리턴 Attendance

GetAttendanceAnalyticsAttendeeDates() 공개 정적인 메소드

Gets the attendance analytics attendee dates.
public static GetAttendanceAnalyticsAttendeeDates ( List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds ) : DataSet
groupIds List The group ids.
start System.DateTime The start.
end System.DateTime The end.
campusIds List The campus ids.
includeNullCampusIds bool The include null campus ids.
scheduleIds List The schedule ids.
리턴 System.Data.DataSet

GetAttendanceAnalyticsAttendeeFirstDates() 공개 정적인 메소드

Gets the attendance analytics attendee first dates.
public static GetAttendanceAnalyticsAttendeeFirstDates ( List GroupTypeIds, List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds ) : DataSet
GroupTypeIds List The group type ids.
groupIds List The group ids.
start System.DateTime The start.
end System.DateTime The end.
campusIds List The campus ids.
includeNullCampusIds bool The include null campus ids.
scheduleIds List The schedule ids.
리턴 System.Data.DataSet

GetAttendanceAnalyticsAttendeeLastAttendance() 공개 정적인 메소드

Gets the attendance analytics attendee last attendance.
public static GetAttendanceAnalyticsAttendeeLastAttendance ( List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds ) : DataSet
groupIds List The group ids.
start System.DateTime The start.
end System.DateTime The end.
campusIds List The campus ids.
includeNullCampusIds bool The include null campus ids.
scheduleIds List The schedule ids.
리턴 System.Data.DataSet

GetAttendanceAnalyticsAttendees() 공개 정적인 메소드

Gets the attendance analytics attendees.
public static GetAttendanceAnalyticsAttendees ( List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds, bool IncludeParentsWithChild, bool IncludeChildrenWithParents ) : DataSet
groupIds List The group ids.
start System.DateTime The start.
end System.DateTime The end.
campusIds List The campus ids.
includeNullCampusIds bool The include null campus ids.
scheduleIds List The schedule ids.
IncludeParentsWithChild bool The include parents with child.
IncludeChildrenWithParents bool The include children with parents.
리턴 System.Data.DataSet

GetAttendanceAnalyticsNonAttendees() 공개 정적인 메소드

Gets the attendance analytics non attendees.
public static GetAttendanceAnalyticsNonAttendees ( List GroupTypeIds, List groupIds, System.DateTime start, System.DateTime end, List campusIds, bool includeNullCampusIds, List scheduleIds, bool IncludeParentsWithChild, bool IncludeChildrenWithParents ) : DataSet
GroupTypeIds List The group type ids.
groupIds List The group ids.
start System.DateTime The start.
end System.DateTime The end.
campusIds List The campus ids.
includeNullCampusIds bool The include null campus ids.
scheduleIds List The schedule ids.
IncludeParentsWithChild bool The include parents with child.
IncludeChildrenWithParents bool The include children with parents.
리턴 System.Data.DataSet

GetByDateAndLocation() 공개 메소드

Returns a queryable collection of Rock.Model.Attendance for a Rock.Model.Location on a specified date.
public GetByDateAndLocation ( System.DateTime date, int locationId ) : IQueryable
date System.DateTime A representing the date attended.
locationId int A representing the Id of the
리턴 IQueryable

GetChartData() 공개 메소드

Gets the chart data.
public GetChartData ( ChartGroupBy groupBy, AttendanceGraphBy graphBy, System.DateTime startDate, System.DateTime endDate, string groupIds, string campusIds, int dataViewId ) : IEnumerable
groupBy ChartGroupBy The group by.
graphBy AttendanceGraphBy The graph by.
startDate System.DateTime The start date.
endDate System.DateTime The end date.
groupIds string The group ids.
campusIds string The campus ids. Include the keyword 'null' in the list to include CampusId is null
dataViewId int The data view identifier.
리턴 IEnumerable

GetChartData() 공개 메소드

Gets the chart data.
public GetChartData ( ChartGroupBy groupBy = ChartGroupBy.Week, AttendanceGraphBy graphBy = AttendanceGraphBy.Total, System.DateTime startDate = null, System.DateTime endDate = null, string groupIds = null, string campusIds = null, int dataViewId = null, string scheduleIds = null ) : IEnumerable
groupBy ChartGroupBy The group by.
graphBy AttendanceGraphBy The graph by.
startDate System.DateTime The start date.
endDate System.DateTime The end date.
groupIds string The group ids.
campusIds string The campus ids. Include the keyword 'null' in the list to include CampusId is null
dataViewId int The data view identifier.
scheduleIds string The schedule ids.
리턴 IEnumerable