Click or drag to resize
IEntityCollectionCreateView Method (IPredicate, ISortExpression, PostCollectionChangeAction)
Creates a new EntityView object of the right type on this collection with the passed in filter and sorter applied to it and the dataChangeAction set to the passed in value.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax
IEntityView CreateView(
	IPredicate filter,
	ISortExpression sorter,
	PostCollectionChangeAction dataChangeAction
)

Parameters

filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
The filter.
sorter
Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The sorter.
dataChangeAction
Type: SD.LLBLGen.Pro.ORMSupportClassesPostCollectionChangeAction
The data change action to take if data in the related collection changes.

Return Value

Type: IEntityView
new EntityView on this collection
See Also