Gets the set of Entity objects that match the provided query specification and returns the results as an EntityTuple grouped by entity type.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
EntityTuple<TEntity1, TEntity2> Find<TEntity1, TEntity2>(
	Query query
) where TEntity1 : Entity where TEntity2 : Entity
Visual Basic (Declaration)
Function Find(Of TEntity1 As Entity, TEntity2 As Entity) ( _
	query As Query _
) As EntityTuple(Of TEntity1, TEntity2)

Parameters

query
Type: Mindscape.LightSpeed.Querying..::.Query
The query.

Type Parameters

TEntity1
The type of the first entity.
TEntity2
The type of the second entity.

Return Value

The results of the grouping.

Remarks

This method is used in grouping scenarios. You will not normally need to call this method from your code: it is easier to perform grouping queries using LINQ.

See Also