views:

14

answers:

0

Using Entity Framework 4, I am creating the EDMX from a database. The database has views in addition to tables. When I select the views to generate from, the resulting model does not retain the relationships that exist between the underlying tables. Does anyone know how to retain these relationships for the views? I want to be able to write queries against the views, not the tables. Does anyone have any ideas?

Bob