After a year away from developing (again) I have another break from paid work so get to expore development again, and LLBL.
Yesterday I realized I had to take a step back and look at how I am approaching my application. My application like most has 3 basic forms for each entity. There is usually a List, Detail and Edit form and depending occasionally a batch form.
List
* contains lots of rows
* read only
* limited fields or reduced fields
* non-normalized
Detail
* displays 1 complete record
* read only
* may have additional list grids - read only.
* non-normalized
Edit
* used for add and edit records
* may edit 1 record at a time
* may contain non-normalized data, but relies on normalized fields (like User_ID and Order_ID)
I am also using MVC and Data Annotations.
I am proposing that there should be a TypedList for the List and for the Detail and then use Entities (and possibly Units of Work) for the editing/add form. Even though the List and the detail are both non-normalized the quantity of fields shown in the list is quite often much less then the that shown in the detail. And when using Data Annotations you may specify different scaffolding (field visible or field non visible) for each.
What are the pro's con's to this approach, and suggestions to improve or refine it. Also out of curiosity is there a MVC example that does this?