Read objects from the space matching the specified ids query.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
IReadByIdsResult<T> ReadByIds<T>( IdsQuery<T> idsQuery, ITransaction tx )
Function ReadByIds(Of T) ( _ idsQuery As IdsQuery(Of T), _ tx As ITransaction _ ) As IReadByIdsResult(Of T)
generic<typename T> IReadByIdsResult<T>^ ReadByIds( IdsQuery<T> idsQuery, ITransaction^ tx )
Generic Template Parameters
- T
- Type of expected result entry.
Parameters
- idsQuery (IdsQuery<(Of <(T>)>))
- The query to search by.
- tx (ITransaction)
- The transaction which this operation will participate in.
Return Value
An IReadByIdsResult<(Of <(T>)>) containing the matched results.
Exceptions
Exception | Condition |
---|---|
ReadByIdsException | The operation had a failure. |