Dofactory.com
Dofactory.com
 Back to list
Views:   11K
Replies:  2
Archived

Entity Framework with Design Pattern Framework

Hi,

I'm starting to design systems using the Entity Framework version 5+.  How does one use this framework with the Design Pattern Framework?  

I realized that the Entity Framework pretty much replaces the DAL layer.
Are there any examples available for using this?

Regards
Joe Contreras, Feb 26, 2013
Reply 1
The DAL layer contains a folder for EF. Just remember the mapper functions map between Domain Business Objects and Data Entities. Do NOT fall into the trap of using the POCO's generated by EF as Domain Business objects.
William Jones, Mar 03, 2013
Reply 2
Not sure I'm understanding. In the code example there is a folder with Entity Framework. You just have to change your web.config to point to your data store.

Thanks
Dennis
Dennis Tucker, Mar 01, 2013
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.