Click or drag to resize

EntityCollectionBaseTEntityCreateView 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.4.0.0 (5.4.0)
Syntax
public 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