| SQLiteMailPersistenceServiceQuery Method (ExpressionFuncMailMessage, Boolean, IPrincipal) |
Query for alerts
Namespace:
SanteDB.DisconnectedClient.SQLite.Mail
Assembly:
SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax public IEnumerable<MailMessage> Query(
Expression<Func<MailMessage, bool>> query,
IPrincipal authContext = null
)
Public Function Query (
query As Expression(Of Func(Of MailMessage, Boolean)),
Optional authContext As IPrincipal = Nothing
) As IEnumerable(Of MailMessage)
public:
virtual IEnumerable<MailMessage^>^ Query(
Expression<Func<MailMessage^, bool>^>^ query,
IPrincipal^ authContext = nullptr
) sealed
abstract Query :
query : Expression<Func<MailMessage, bool>> *
?authContext : IPrincipal
(* Defaults:
let _authContext = defaultArg authContext null
*)
-> IEnumerable<MailMessage>
override Query :
query : Expression<Func<MailMessage, bool>> *
?authContext : IPrincipal
(* Defaults:
let _authContext = defaultArg authContext null
*)
-> IEnumerable<MailMessage>
Parameters
- query
- Type: System.Linq.ExpressionsExpressionFuncMailMessage, Boolean
[Missing <param name="query"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Mail.SQLiteMailPersistenceService.Query(System.Linq.Expressions.Expression{System.Func{SanteDB.Core.Mail.MailMessage,System.Boolean}},System.Security.Principal.IPrincipal)"]
- authContext (Optional)
- Type: System.Security.PrincipalIPrincipal
[Missing <param name="authContext"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Mail.SQLiteMailPersistenceService.Query(System.Linq.Expressions.Expression{System.Func{SanteDB.Core.Mail.MailMessage,System.Boolean}},System.Security.Principal.IPrincipal)"]
Return Value
Type:
IEnumerableMailMessage[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.SQLite.Mail.SQLiteMailPersistenceService.Query(System.Linq.Expressions.Expression{System.Func{SanteDB.Core.Mail.MailMessage,System.Boolean}},System.Security.Principal.IPrincipal)"]
Implements
IDataPersistenceServiceTDataQuery(ExpressionFuncTData, Boolean, IPrincipal)See Also