Click or drag to resize
EntityCollectionBase2TEntityCreateView 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.1.0.0 (5.1.0)
Syntax
public 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