EntityCollectionBaseTEntityFetchExcludedFieldsAsync Method (ExcludeIncludeFieldsList, CancellationToken) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public Task FetchExcludedFieldsAsync(
ExcludeIncludeFieldsList excludedIncludedFields,
CancellationToken cancellationToken
)
Public Function FetchExcludedFieldsAsync (
excludedIncludedFields As ExcludeIncludeFieldsList,
cancellationToken As CancellationToken
) As Task
Parameters
- excludedIncludedFields
- Type: SD.LLBLGen.Pro.ORMSupportClassesExcludeIncludeFieldsList
The excludedIncludedFields object as it is used when fetching the entity. 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. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskRemarks
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*DaoBase.ParameterisedPrefetchPathThreshold of parameters per fetch. Keep in mind
that most databases have a limit on the # of parameters per query.
See Also