Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.

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

Syntax

C#
public virtual bool FetchEntity(
	IEntity2 entityToFetch,
	Context context
)
Visual Basic
Public Overridable Function FetchEntity ( 
	entityToFetch As IEntity2,
	context As Context
) As Boolean
Visual C++
public:
virtual bool FetchEntity(
	IEntity2^ entityToFetch, 
	Context^ context
)
F#
abstract FetchEntity : 
        entityToFetch : IEntity2 * 
        context : Context -> bool 
override FetchEntity : 
        entityToFetch : IEntity2 * 
        context : Context -> bool 

Parameters

entityToFetch
Type: IEntity2
The entity object in which the fetched entity data will be stored.
context
Type: Context
The context to add the entity to if the fetch was succesful

Return Value

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

Implements

IRepository..::..FetchEntity(IEntity2, Context)

See Also