Click or drag to resize

SQLiteMailPersistenceServiceCount Method

Count the number of alerts matching the query expression

Namespace:  SanteDB.DisconnectedClient.SQLite.Mail
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public long Count(
	Expression<Func<MailMessage, bool>> p,
	IPrincipal authContext = null
)

Parameters

p
Type: System.Linq.ExpressionsExpressionFuncMailMessage, Boolean
The query to filter the count
authContext (Optional)
Type: System.Security.PrincipalIPrincipal

[Missing <param name="authContext"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Mail.SQLiteMailPersistenceService.Count(System.Linq.Expressions.Expression{System.Func{SanteDB.Core.Mail.MailMessage,System.Boolean}},System.Security.Principal.IPrincipal)"]

Return Value

Type: Int64
The total count of object matching the alert

Implements

IDataPersistenceServiceTDataCount(ExpressionFuncTData, Boolean, IPrincipal)
See Also