Home  /  Questions  /  Question

50   50
Feb 26, 2013

Entity Framework with Design Pattern Framework


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?


108   96.7
Mar 01, 2013
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.


50   50
Mar 03, 2013
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.