This is a migrated thread and some comments may be shown as answers.

Recommendations for IQueryableCollectionView -> EntityQuery

0 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 27 Apr 2012, 01:43 AM
Are there any recommended ways of shaping an entity query with an IQueryCollectionView?


I was testing with the RadGridView/RadDataFilter, and whilst I can get the Expression easily enough, they are not quite in the format I would expect.
e.g. A lot of the expression have null checks in them

The Sort/Group descriptors expression is easy enough to clean up (Recast to ConditionalExpression, get the If true expression)
The filter expression is much more difficult to clean up (espeically if it contains composite filter descriptions)


Is there any way to easily shape my EntityQueries with the IQueryCollectionView?
(alternatively- Is there some way to make the Group/Sort/Filter descriptors, not do null checks?)


*Edit*
Just found the Telerik.Windows.Controls.DomainServices.EntityQueryExtensions class
(Although I think it is a bit confusing how it is in Telerik.Windows.Controls.DomainServices assembly)

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Alex
Top achievements
Rank 1
Share this question
or