I’d like to use ASP.NET Dynamic Data 4.0 with an EF POCO ObjectContext as a simple entity administration console for system administrators (I’m contemplating abandoning this technology…).
I’ve got insert/update working.
I’ve figured out how to add filters for extra data types (because the built in ones are useless). I can’t figure out how to make the QueryableFilterRepeater expose my columns as filtering. I can’t added FilterUIHints to all applicable types, so that’s not an acceptable solution. I do want to leverage the built in Entity Framework Metadata Model Provider. I don’t want to write my own. The problem seems to boil down to the fact that the QueryableFilterIterator is calling MetaTable.GetFilteredColumns() and it’s only returning bool/int/DateTime columns (which is useless).
I checked out ASP.NET Dynamic Data Filtering (http://dynamicdatafiltering.codeplex.com/), but it doesn’t seem to be maintained for 4.0.
I guess I have two questions:
- Is there a way to do this (get my columns as filterable)?
- Is Dynamic Data actually suitable to use in the real world?
Got frustrated and took the direct route. If there’s not a better solution to this…well, then Microsoft did a really poor job at this: