Arranging VS2008 generated LinqToSql/EntityFramework data models/contexts in assemblies.
Posted
by JMSA
on Stack Overflow
See other posts from Stack Overflow
or by JMSA
Published on 2010-04-20T14:34:44Z
Indexed on
2010/04/20
15:03 UTC
Read the original article
Hit count: 240
What pattern should I use for data-access in case of VS2008 generated L2s or EF DataModels? Repository-pattern or what?
As we know VS2008 generates Data-Models and DataContexts/ObjectContexts in the same file, then, how should I arrange my VS2008 assemblies in my VS2008 solution to achieve a layered design?
If I use repository pattern, how should I arrange my assemblies in the VS2008 solution (as Data-Models and Data/Object-Contexts are stored in the same file...)?
Any web/example link would be appreciated.
© Stack Overflow or respective owner