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

Data access/service class for Rock.Model.PrayerRequest entity objects.
Показать файл Открыть проект Примеры использования класса

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

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