| HdsiServiceClientQueryTModel Method (ExpressionFuncTModel, Boolean) |
Performs a query.
Namespace:
SanteDB.Messaging.HDSI.Client
Assembly:
SanteDB.Messaging.HDSI.Client (in SanteDB.Messaging.HDSI.Client.dll) Version: 2.2.1
Syntax public Bundle Query<TModel>(
Expression<Func<TModel, bool>> query
)
where TModel : IdentifiedData
Public Function Query(Of TModel As IdentifiedData) (
query As Expression(Of Func(Of TModel, Boolean))
) As Bundle
public:
generic<typename TModel>
where TModel : IdentifiedData
Bundle^ Query(
Expression<Func<TModel, bool>^>^ query
)
member Query :
query : Expression<Func<'TModel, bool>> -> Bundle when 'TModel : IdentifiedData
Parameters
- query
- Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean
The query parameters as a LINQ expression.
Type Parameters
- TModel
- The type of object to query.
Return Value
Type:
BundleReturns a Bundle containing the data.
See Also