Last post Feb 18, 2010 05:05 PM by rezaxp
Feb 18, 2010 01:13 PM|rezaxp|LINK
in my new project that is a enterprise application I want to use entity framework 4 with poco
my DAL is provider base and I use a factory that decide which provider should use base on configuration
the providers are private assemblies.
as I saw in manu articles about entity framework I should use repository and unit of work patterns now my question is where should I place this patterns ,in my provider of entity framework or inside of bussiness logic
remember that I dont want that my application work only with EF,I will create a normal provider that use sql stored procedures and maybe another techniques.
if you can please explain the relation and way of implementing this patterns
Feb 18, 2010 04:11 PM|PauliusRaila|LINK
In this blog post EF is used with POCO and repositories:
Feb 18, 2010 05:05 PM|rezaxp|LINK
thanks for your reply but,
I know patterns,I know how should I write repository and unit of work,this is just an architectural issue that I dont know where to implement and use this patterns my objects are in my bussiness but I dont need repository and UOW in other providers of DAL
like stored procedure base classic dal
now I want to know the artchitectural view of this work and the model of my DAL that should be