bertcord wrote:
I just want to make sure I am not missing something.... What is the reason this are disabled by default, is there a new better way of sorting and filtering? I have read about entityviews for entity collections.....but what about TypedViews.
I think you're confusing some things
.
The filtering building blocks are the predicate classes, like FieldCompareValuePredicate. To create instances of these, the PredicateFactory class was generated to make it simpler to create predicates. However in large projects, this class became really big and another way to write predicates was found: operator overloading. So since 1.0.2005.1, you can create predicate instances (not all of them, but the majority) through operator overloading as well, instead of the predicate factory. This means that the predicate factory is not needed anymore. To keep the amount of generated code down, the predicate factory (and also the sortclause factory) are now not enabled by default, because if you don't use it, why generate it?
Is there a new better way to sort a typed view?
Bert
It's a datatable under the hood, thus you can create a dataview from it and sort it like any other dataview.