PrefetchPathAdd Method (IPrefetchPathElement, ExcludeIncludeFieldsList) |
Adds the specified element to the path.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public IPrefetchPathElement Add(
IPrefetchPathElement elementToAdd,
ExcludeIncludeFieldsList excludedIncludedFields
)
Public Function Add (
elementToAdd As IPrefetchPathElement,
excludedIncludedFields As ExcludeIncludeFieldsList
) As IPrefetchPathElement
Parameters
- elementToAdd
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPathElement
The PrefetchPathElement to add - excludedIncludedFields
- Type: SD.LLBLGen.Pro.ORMSupportClassesExcludeIncludeFieldsList
The list of IEntityField objects which have to be excluded or included for the fetch.
If null or empty, all fields are fetched (default). If an instance of ExcludeIncludeFieldsList is passed in and its ExcludeContainedFields property
is set to false, the fields contained in excludedIncludedFields are kept in the query, the rest of the fields in the query are excluded.
Return Value
Type:
IPrefetchPathElementthe element added, so chaining of commands is possible
Implements
IPrefetchPathAdd(IPrefetchPathElement, ExcludeIncludeFieldsList)See Also