Entity framework and database logic.
Posted
by Xavier Devian
on Stack Overflow
See other posts from Stack Overflow
or by Xavier Devian
Published on 2010-05-11T11:18:47Z
Indexed on
2010/05/11
11:24 UTC
Read the original article
Hit count: 257
entity-framework
|database-design
Hi all,
i have a question that's being around for several years. As all you know entity framework is an ORM tool that tries to model the database to an object oriented access model. All the samples I've seen are quering directly to the database tables. So, which is the role of the views in the database now?. The views were used to model the database in a more friendly way, that is, several physical tables, one logic table. This was great for example in hidding the complex relational model on stored procedures as queryng the views inside them was much easier than reproducing the query joins over and over on each stored procedure. So the question is, why is entity framework so good if stored procedures can not take benefit of it?
© Stack Overflow or respective owner