| PersistenceEntitySourceQueryTObject Method |
Query the specified object
Namespace:
SanteDB.Core.Data
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax public IQueryResultSet<TObject> Query<TObject>(
Expression<Func<TObject, bool>> query
)
where TObject : new(), IdentifiedData
Public Function Query(Of TObject As {New, IdentifiedData}) (
query As Expression(Of Func(Of TObject, Boolean))
) As IQueryResultSet(Of TObject)
public:
generic<typename TObject>
where TObject : gcnew(), IdentifiedData
virtual IQueryResultSet<TObject>^ Query(
Expression<Func<TObject, bool>^>^ query
) sealed
abstract Query :
query : Expression<Func<'TObject, bool>> -> IQueryResultSet<'TObject> when 'TObject : new() and IdentifiedData
override Query :
query : Expression<Func<'TObject, bool>> -> IQueryResultSet<'TObject> when 'TObject : new() and IdentifiedData
Parameters
- query
- Type: System.Linq.ExpressionsExpressionFuncTObject, Boolean
[Missing <param name="query"/> documentation for "M:SanteDB.Core.Data.PersistenceEntitySource.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})"]
Type Parameters
- TObject
[Missing <typeparam name="TObject"/> documentation for "M:SanteDB.Core.Data.PersistenceEntitySource.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})"]
Return Value
Type:
IQueryResultSetTObject[Missing <returns> documentation for "M:SanteDB.Core.Data.PersistenceEntitySource.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})"]
Implements
IEntitySourceProviderQueryTObject(ExpressionFuncTObject, Boolean)See Also