Making it happen
Dynamic Data and Entity Framework
As I’ve been using Dynamic Data and Entity Framework, here are my thoughts after messing with them:
- Dynamic Data simply rocks, you are not required to use their navigation system and you can quickly set up your own. I have modified the standard page templates though for being more user-friendly (like having the parent set automatically in the dropdown when inserting a new item going from parent details) and also have implemented a generic many-to-many editor (two actually, one with two listboxes and move left/right) and one with a checkboxlist, pretty simple although you have to use reflection.
- Entity Framework is not so bad
once you get past the following: use this when you need where conditions on related data and use Dynamic Data foreign key dynamic control to automatically insert the parent relation (if you use EntityDataSource).
| Print article | This entry was posted by andrei on July 2, 2008 at 8:25 am, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 3 years ago
I just started using DD and EF in an attempt to avoid all the pointless CRUD code I’m sick of writing over and over again. So far so good – any chance I could get a look at your generic many-to-many editor? I was about to start on that myself but would rather not reinvent any wheels, regardless of how simple..
about 2 years ago
Hi Andrei, how did you go about “having the parent set automatically in the dropdown when inserting a new item going from parent details”?
Would love to do the same myself. Cheers