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,
ExcludeIncludeFieldsList excludedIncludedFields
) |
Visual Basic |
---|
Function FetchEntity (
entityToFetch As IEntity2,
prefetchPath As IPrefetchPath2,
context As Context,
excludedIncludedFields As ExcludeIncludeFieldsList
) As Boolean |
Visual C++ |
---|
bool FetchEntity(
IEntity2^ entityToFetch,
IPrefetchPath2^ prefetchPath,
Context^ context,
ExcludeIncludeFieldsList^ excludedIncludedFields
) |
F# |
---|
abstract FetchEntity :
entityToFetch : IEntity2 *
prefetchPath : IPrefetchPath2 *
context : Context *
excludedIncludedFields : ExcludeIncludeFieldsList -> 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.
- excludedIncludedFields
- Type: ExcludeIncludeFieldsList
The list of IEntityField2 objects which have to be excluded or included for the fetch.
Return Value
Type:
Booleantrue if the Fetch was succesful, false otherwise
See Also