Click or drag to resize

IEntityCollection2CreateView Method (IPredicate, ISortExpression)

Creates a new EntityView2 object of the right type on this collection with the passed in filter and sorter applied to it.

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
IEntityView2 CreateView(
	IPredicate filter,
	ISortExpression sorter
)

Parameters

filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
The filter.
sorter
Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The sorter.

Return Value

Type: IEntityView2
new EntityView2 on this collection
See Also