Fetches an entity from the persistent storage into the object specified using the filter specified.

Namespace: MonoSoftware.LLBLGen
Assembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
bool FetchEntityUsingUniqueConstraint(
	IEntity2 entityToFetch,
	IPredicateExpression uniqueConstraintFilter,
	IPrefetchPath2 prefetchPath
)
Visual Basic
Function FetchEntityUsingUniqueConstraint ( 
	entityToFetch As IEntity2,
	uniqueConstraintFilter As IPredicateExpression,
	prefetchPath As IPrefetchPath2
) As Boolean
Visual C++
bool FetchEntityUsingUniqueConstraint(
	IEntity2^ entityToFetch, 
	IPredicateExpression^ uniqueConstraintFilter, 
	IPrefetchPath2^ prefetchPath
)
F#
abstract FetchEntityUsingUniqueConstraint : 
        entityToFetch : IEntity2 * 
        uniqueConstraintFilter : IPredicateExpression * 
        prefetchPath : IPrefetchPath2 -> bool 

Parameters

entityToFetch
Type: IEntity2
The entity object in which the fetched entity data will be stored.
uniqueConstraintFilter
Type: IPredicateExpression
The filter which should filter on fields with a unique constraint.
prefetchPath
Type: IPrefetchPath2
The prefetch path to use for this fetch, which will fetch all related entities.

Return Value

Type: Boolean
true if the Fetch was succesful, false otherwise

See Also