Returns a list of Entity objects that match the provided Query specification.

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

Syntax

C#
IList<Entity> Find(
	Query query
)
Visual Basic (Declaration)
Function Find ( _
	query As Query _
) As IList(Of Entity)

Parameters

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

Return Value

A list of Entity objects that match the provided Query specification.

Examples

CopyC#
Query query = new Query(typeof(Product), Entity.Attribute("OrderId") == 101);
IList<Entity> products = unitOfWork.Find(query);

See Also