Click or drag to resize

IDataAccessAdapterFetchExcludedFieldsAsync Method (IEntity2, ExcludeIncludeFieldsList, CancellationToken)

Async variant of FetchExcludedFields(IEntity2, ExcludeIncludeFieldsList). Loads the data for the excluded fields specified in the list of excluded fields into the entity passed in.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
Task FetchExcludedFieldsAsync(
	IEntity2 entity,
	ExcludeIncludeFieldsList excludedIncludedFields,
	CancellationToken cancellationToken
)

Parameters

entity
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
The entity to load the excluded field data into.
excludedIncludedFields
Type: SD.LLBLGen.Pro.ORMSupportClassesExcludeIncludeFieldsList
The excludedIncludedFields object as it is used when fetching the passed in 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: Task
Remarks
The field data is set like a normal field value set, so authorization is applied to it.
See Also