Click or drag to resize

EntityViewTEntity Constructor (CollectionCoreTEntity, PredicateTEntity, ISortExpression, PostCollectionChangeAction)

CTor

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 EntityView(
	CollectionCore<TEntity> relatedCollection,
	Predicate<TEntity> filter,
	ISortExpression sorter,
	PostCollectionChangeAction dataChangeAction
)

Parameters

relatedCollection
Type: SD.LLBLGen.Pro.ORMSupportClassesCollectionCoreTEntity
entity collection which is the data-container for the data viewed through this view.
filter
Type: SystemPredicateTEntity
The filter lambda to apply
sorter
Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The sorter to apply
dataChangeAction
Type: SD.LLBLGen.Pro.ORMSupportClassesPostCollectionChangeAction
The data change action to take if data in the related collection changes.
See Also