| 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
)
Function Find (
predicate As Expression(Of Func(Of MailMessage, Boolean)),
offset As Integer,
count As Integer?,
<OutAttribute> ByRef totalCount As Integer,
ParamArray orderBy As ModelSort(Of MailMessage)()
) As IEnumerable(Of MailMessage)
IEnumerable<MailMessage^>^ Find(
Expression<Func<MailMessage^, bool>^>^ predicate,
int offset,
Nullable<int> count,
[OutAttribute] int% totalCount,
... array<ModelSort<MailMessage^>>^ orderBy
)
abstract Find :
predicate : Expression<Func<MailMessage, bool>> *
offset : int *
count : Nullable<int> *
totalCount : int byref *
orderBy : ModelSort<MailMessage>[] -> IEnumerable<MailMessage>
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:
IEnumerableMailMessageReturns a list of alerts.
See Also