Performs a Find operation where the result set will be spanning multiple types which will
be returned as an EntityTuple instance.
Namespace:
Mindscape.LightSpeed.ServiceModelAssembly: Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
[UseNetDataContractSerializerAttribute] [OperationContractAttribute] EntityTuple FindTuple( string typename, Query query, EntityTypeMapping[] mappings ) |
Visual Basic (Declaration) |
---|
<UseNetDataContractSerializerAttribute> _ <OperationContractAttribute> _ Function FindTuple ( _ typename As String, _ query As Query, _ mappings As EntityTypeMapping() _ ) As EntityTuple |
Parameters
- typename
- Type: System..::.String
The fully qualified type for the root entity for which to perform the Find operation.
- query
- Type: Mindscape.LightSpeed.Querying..::.Query
The query to be executed
- mappings
- Type: array<
Mindscape.LightSpeed.ServiceModel..::.EntityTypeMapping
>[]()[]
The list of type mappings for the query.
Return Value
An EntityTuple which contains the result sets from the query for each entity type specified.
Remarks
This operation is typically called when executing a query where the output is to be
multiple types in the query.
e.g. select a.*, b.* from EntityA a inner join EntityB b on a.SomeProperty = b.SomeProperty