This question is locked. New answers and comments are not allowed.
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)
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)