Unplanned
Last Updated: 29 Mar 2022 17:57 by Brandon
Brandon
Created on: 29 Mar 2022 17:49
Category: UI for ASP.NET MVC
Type: Feature Request
1
FilterDescriptor - Configure Member as a List

Hi Team,

I would like to request the functionality to configure the FilterDescriptor's Member as a List rather than a field.  

Thank you!

1 comment
Brandon
Posted on: 29 Mar 2022 17:57
The idea for this question pertains to using a DataSourceRequest against an Entity Framework source.  Your code allows you to have a filter descriptor where the member is "Field.InnerField" if Field is a complex object instead of something like a string or int.  This works great if you are wanting to filter on a related table that is one-to-one.  If you have a one-to-many in Entity Framework the Field points to a collection and InnerField is handled as a field of the collection instead of a field of one of the objects contained by the collection.  It would be nice if there was a syntax like "Field[].InnerField" that told it you wanted to look inside the collection.