Views: 11K
Replies: 2
Archived
|
Entity Framework with Design Pattern FrameworkHi,
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 1The 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 2Not 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
|