Mindscape LightSpeed - User Reference & API Documentation
FindOne<(Of <(TEntity>)>) Method (queryExpression)
API ReferenceMindscape.LightSpeedRepositoryFindOne<(Of <(TEntity>)>)(QueryExpression)
Finds a single Entity that satisifies the provided QueryExpression.
Declaration Syntax
C#Visual Basic
public static TEntity FindOne<TEntity>(
	QueryExpression queryExpression
) where TEntity : Entity
Public Shared Function FindOne(Of TEntity As Entity) ( _
	queryExpression As QueryExpression _
) As TEntity
Generic Template Parameters
TEntity
The entity type.
Parameters
queryExpression (QueryExpression)
A QueryExpression used to match the Entity that should be returned.
Return Value
A single Entity that satisfies the supplied QueryExpression.

Assembly: Mindscape.LightSpeed (Module: Mindscape.LightSpeed) Version: 1.2.1393.0 (1.2.1393.0)