C# 클래스 Rock.Model.PrayerRequestService

Data access/service class for Rock.Model.PrayerRequest entity objects.
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
GetActiveApprovedUnexpired ( ) : IOrderedQueryable

Returns a active, approved, unexpired PrayerRequests order by urgency and then by total prayer count.

GetByCategoryIds ( List categoryIds, bool onlyApproved = true, bool onlyUnexpired = true ) : IEnumerable

Returns a collection of active PrayerRequests that are in a specified Rock.Model.Category or any of its subcategories.

메소드 상세

GetActiveApprovedUnexpired() 공개 메소드

Returns a active, approved, unexpired PrayerRequests order by urgency and then by total prayer count.
public GetActiveApprovedUnexpired ( ) : IOrderedQueryable
리턴 IOrderedQueryable

GetByCategoryIds() 공개 메소드

Returns a collection of active PrayerRequests that are in a specified Rock.Model.Category or any of its subcategories.
public GetByCategoryIds ( List categoryIds, bool onlyApproved = true, bool onlyUnexpired = true ) : IEnumerable
categoryIds List A of /// the IDs to retrieve PrayerRequests for.
onlyApproved bool set false to include un-approved requests.
onlyUnexpired bool set false to include expired requests.
리턴 IEnumerable