Obsolete. Use FindById(Type, Object) instead.

Namespace:  Mindscape.LightSpeed.ServiceModel
Assembly:  Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
[ObsoleteAttribute("FindOne is no longer used for retrieving an entity by id.  Use FindById instead.")]
public Entity FindOne(
	Type entityType,
	Object id
)
Visual Basic (Declaration)
<ObsoleteAttribute("FindOne is no longer used for retrieving an entity by id.  Use FindById instead.")> _
Public Function FindOne ( _
	entityType As Type, _
	id As Object _
) As Entity

Parameters

entityType
Type: System..::.Type
The type of Entity to find.
id
Type: System..::.Object
The id of the Entity

Return Value

An Entity, or null if no Entity was found with the specified id value.

Implements

IUnitOfWork..::.FindOne(Type, Object)

See Also