Click or drag to resize

IMailMessageRepositoryServiceFind Method

Searches for alerts.

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
IEnumerable<MailMessage> Find(
	Expression<Func<MailMessage, bool>> predicate,
	int offset,
	int? count,
	out int totalCount,
	params ModelSort<MailMessage>[] orderBy
)

Parameters

predicate
Type: System.Linq.ExpressionsExpressionFuncMailMessage, Boolean
The predicate to use to search for alerts.
offset
Type: SystemInt32
The offset of the search.
count
Type: SystemNullableInt32
The count of the search results.
totalCount
Type: SystemInt32
The total count of the alerts.
orderBy
Type: SanteDB.Core.Model.QueryModelSortMailMessage
The ordering instructions

Return Value

Type: IEnumerableMailMessage
Returns a list of alerts.
See Also