Click or drag to resize

EntityCollectionBase2TEntityIEntityCollection2CreateView 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.5.0.0 (5.5.18.1019)
Syntax
IEntityView2 IEntityCollection2.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

Implements

IEntityCollection2CreateView(IPredicate, ISortExpression, PostCollectionChangeAction)
See Also