Returns a list of Entity objects that
match the provided Query specification. Places the
results into the provided collection.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
void Find( Query query, IList results ) |
Visual Basic (Declaration) |
---|
Sub Find ( _ query As Query, _ results As IList _ ) |
Parameters
- query
- Type: Mindscape.LightSpeed.Querying..::.Query
The query.
- results
- Type: System.Collections..::.IList
The collection where the results are placed.
Examples
CopyC#
Query query = new Query(typeof(Product), Entity.Attribute("OrderId") == 101); IList results = new ObservableCollection<Product>(); unitOfWork.Find(query, results);