| DataContextQueryTModel Method (ExpressionFuncTModel, Boolean) |
Execute the specified query
Namespace:
SanteDB.OrmLite
Assembly:
SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax public OrmResultSet<TModel> Query<TModel>(
Expression<Func<TModel, bool>> querySpec
)
Public Function Query(Of TModel) (
querySpec As Expression(Of Func(Of TModel, Boolean))
) As OrmResultSet(Of TModel)
public:
generic<typename TModel>
OrmResultSet<TModel>^ Query(
Expression<Func<TModel, bool>^>^ querySpec
)
member Query :
querySpec : Expression<Func<'TModel, bool>> -> OrmResultSet<'TModel>
Parameters
- querySpec
- Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean
[Missing <param name="querySpec"/> documentation for "M:SanteDB.OrmLite.DataContext.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})"]
Type Parameters
- TModel
[Missing <typeparam name="TModel"/> documentation for "M:SanteDB.OrmLite.DataContext.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})"]
Return Value
Type:
OrmResultSetTModel[Missing <returns> documentation for "M:SanteDB.OrmLite.DataContext.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})"]
See Also