Returns a list of Entity objects that match the provided ProcedureQuery specification. Places the results into the provided collection.

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

Syntax

C#
void Find(
	ProcedureQuery query,
	IList results
)
Visual Basic (Declaration)
Sub Find ( _
	query As ProcedureQuery, _
	results As IList _
)

Parameters

query
Type: Mindscape.LightSpeed.Querying..::.ProcedureQuery
The query.
results
Type: System.Collections..::.IList
The collection where the results are placed.

Examples

CopyC#
ProcedureQuery query = new ProcedureQuery("GetProductsInOrder",
  new ProcedureParameter("orderId", 101));
IList results = new ObservableCollection<Product>();
unitOfWork.Find(query, results);

See Also