Today we released an updated ASP.NET Dynamic Data
Preview. You can learn more about it and download it here.
This new dynamic data preview now works with the standard
built-in ASP.NET data controls (GridView, ListView, FormView, DetailsView,
etc). The dynamic data support enables these controls to automatically
handle foreign-key relationships. For example, on a GridView you'll now
get automatic friendly name display of foreign key column values and automatic
drop-down list selection support of these values when in edit mode:
Figure 1
The new dynamic data support also provides
automatic UI validation support (both client-side and server-side) based on the
constraints you set on your data model classes. For example, if a column
in the database is limited to 50 characters in size, and is marked as
non-nullable, appropriate UI control validators will automatically be applied
by ASP.NET dynamic data to enforce this constraint in the UI pages as
well. If you change the constraints within your LINQ to SQL or LINQ to
Entities data model classes, the UI will automatically pick up these changes
and enforce the new constraints on the next web request.
In addition to standard data model metadata,
you can also declare custom metadata to further control validation and the
default display of UI of objects.
You will be able to use all of the above
features with both LINQ to SQL and LINQ to Entities.