DaoBaseFetchExcludedFieldsAsync Method (IEntity, ITransaction, ExcludeIncludeFieldsList, CancellationToken) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public Task FetchExcludedFieldsAsync(
IEntity entity,
ITransaction containingTransaction,
ExcludeIncludeFieldsList excludedIncludedFields,
CancellationToken cancellationToken
)
Public Function FetchExcludedFieldsAsync (
entity As IEntity,
containingTransaction As ITransaction,
excludedIncludedFields As ExcludeIncludeFieldsList,
cancellationToken As CancellationToken
) As Task
Parameters
- entity
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity
The entity to load the excluded field data into. - containingTransaction
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction, if caller is added to a transaction, or null if not. - 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:
TaskImplements
IDaoFetchExcludedFieldsAsync(IEntity, ITransaction, ExcludeIncludeFieldsList, CancellationToken)Remarks
The field data is set like a normal field value set, so authorization is applied to it.
See Also