Finds a single Entity that satisifies the provided QueryExpression.

C# | Visual Basic |
public static Entity FindOne( Type entityType, QueryExpression queryExpression )
Public Shared Function FindOne ( _ entityType As Type, _ queryExpression As QueryExpression _ ) As Entity

- entityType (Type)
- The entity type.
- queryExpression (QueryExpression)
- A QueryExpression used to match the Entity that should be returned.

A single Entity that satisfies the supplied QueryExpression.