Performs a Find operation where the output is to be a projection across one or
more types in the query rather than an entity result.
Namespace:
Mindscape.LightSpeed.ServiceModelAssembly: Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
[OperationContractAttribute] [UseNetDataContractSerializerAttribute] RawDataSet Project( string typename, Query query ) |
Visual Basic (Declaration) |
---|
<OperationContractAttribute> _ <UseNetDataContractSerializerAttribute> _ Function Project ( _ typename As String, _ query As Query _ ) As RawDataSet |
Parameters
- typename
- Type: System..::.String
The fully qualified type for the root entity for which to perform the Project operation.
- query
- Type: Mindscape.LightSpeed.Querying..::.Query
The query to be executed.
Return Value
A RawDataSet containing the raw values from the DataReader which was returned from executing the query.
Remarks
This operation is typically called when executing a query where the output is to be
an arbitrary shape given the entities involved in the query.
e.g. select a.Id, b.Id from EntityA a inner join EntityB b on a.SomeProperty = b.SomeProperty