| 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
)
Public Function Count (
p As Expression(Of Func(Of MailMessage, Boolean)),
Optional authContext As IPrincipal = Nothing
) As Long
public:
virtual long long Count(
Expression<Func<MailMessage^, bool>^>^ p,
IPrincipal^ authContext = nullptr
) sealed
abstract Count :
p : Expression<Func<MailMessage, bool>> *
?authContext : IPrincipal
(* Defaults:
let _authContext = defaultArg authContext null
*)
-> int64
override Count :
p : Expression<Func<MailMessage, bool>> *
?authContext : IPrincipal
(* Defaults:
let _authContext = defaultArg authContext null
*)
-> int64
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:
Int64The total count of object matching the alert
Implements
IDataPersistenceServiceTDataCount(ExpressionFuncTData, Boolean, IPrincipal)See Also