IDataAccessAdapterFetchExcludedFieldsAsync Method (IEntityCollection2, ExcludeIncludeFieldsList) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax Task FetchExcludedFieldsAsync(
IEntityCollection2 entities,
ExcludeIncludeFieldsList excludedIncludedFields
)
Function FetchExcludedFieldsAsync (
entities As IEntityCollection2,
excludedIncludedFields As ExcludeIncludeFieldsList
) As Task
Parameters
- entities
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
The entities to load the excluded field data into. The entities have to be either of the same type or have to be
in the same inheritance hierarchy as the entity which factory is set in the collection. - excludedIncludedFields
- Type: SD.LLBLGen.Pro.ORMSupportClassesExcludeIncludeFieldsList
The excludedIncludedFields object as it is used when fetching the passed in collection. If you used
the excludedIncludedFields object to fetch only the fields in that list (i.e. excludedIncludedFields.ExcludeContainedFields==false), the routine
will fetch all other fields in the resultset for the entities in the collection excluding the fields in excludedIncludedFields.
Return Value
Type:
TaskExceptions Remarks
The field data is set like a normal field value set, so authorization is applied to it.
This routine batches fetches to have at most 5*ParameterizedThreshold of parameters per fetch. Keep in mind that most databases have a limit
on the # of parameters per query.
See Also