Click or drag to resize

IEntityCollection2CreateView Method (IPredicate, ISortExpression, PostCollectionChangeAction)

Creates a new EntityView2 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.7.0.0 (5.7.0)
Syntax
IEntityView2 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: IEntityView2
new EntityView2 on this collection
See Also