Finds a single Entity that satisifies the provided QueryExpression.
Namespace:
Mindscape.LightSpeed.ServiceModelAssembly: Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public Entity FindOne( Type entityType, QueryExpression queryExpression ) |
Visual Basic (Declaration) |
---|
Public Function FindOne ( _ entityType As Type, _ queryExpression As QueryExpression _ ) As Entity |
Parameters
- entityType
- Type: System..::.Type
The entity type.
- queryExpression
- Type: Mindscape.LightSpeed.Querying..::.QueryExpression
A QueryExpression used to match the Entity that should be returned.