Mindscape LightSpeed - User Reference & API Documentation
FindOne<(Of <(TEntity>)>) Method (id)
API ReferenceMindscape.LightSpeedRepositoryFindOne<(Of <(TEntity>)>)(Object)
Finds a single Entity by it's id.
Declaration Syntax
C#Visual Basic
public static TEntity FindOne<TEntity>(
	Object id
) where TEntity : Entity
Public Shared Function FindOne(Of TEntity As Entity) ( _
	id As Object _
) As TEntity
Generic Template Parameters
TEntity
The type of Entity to find.
Parameters
id (Object)
The id of the Entity
Return Value
An Entity, or null if no Entity was found with the specified id value.

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