Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
Namespace: MonoSoftware.LLBLGenAssembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
bool FetchEntity(
IEntity2 entityToFetch,
IPrefetchPath2 prefetchPath,
Context context
) |
Visual Basic |
---|
Function FetchEntity (
entityToFetch As IEntity2,
prefetchPath As IPrefetchPath2,
context As Context
) As Boolean |
Visual C++ |
---|
bool FetchEntity(
IEntity2^ entityToFetch,
IPrefetchPath2^ prefetchPath,
Context^ context
) |
F# |
---|
abstract FetchEntity :
entityToFetch : IEntity2 *
prefetchPath : IPrefetchPath2 *
context : Context -> bool
|
Parameters
- entityToFetch
- Type: IEntity2
The entity object in which the fetched entity data will be stored.
- prefetchPath
- Type: IPrefetchPath2
The prefetch path to use for this fetch, which will fetch all related entities.
- context
- Type: Context
The context to add the entity to if the fetch was succesful.
Return Value
Type:
Booleantrue if the Fetch was succesful, false otherwise
See Also