Reputation: 250
I beginning a new project and I need to create a Project for implementing Entity Framework 4.0 and Unity Framework 2.0 along with Enterprise Library 5.0.
I am very new to Entity Framework and Unity Framework and getting confused in how I can get normal Object BO's and DAL with Database.
Can someone point me to some simple examples to start on both in a same project. Later I need to use ASP.NET MVC 2.0 for the UI.
I have seen Julie Lerman's Video for Entity Framework I can get the Tables as Entity but after that I have no Idea where will Unity, Enterprise Library will fit in. I am lost after that.
Some one please help me.
Upvotes: 0
Views: 2767
Reputation: 1266
I've learned a lot by looking at the code of some projects listed in this article: http://richarddingwall.name/2008/11/02/best-practice-dddtdd-aspnet-mvc-example-applications/. I recommend you to take a look to the code of CarTrackr, I think it ressemble to what you want to do. Kigg (listed in the comments), uses Unity Framework and Entity Framework too.
Upvotes: 1
Reputation: 364249
Are you sure you want to use Enterprise Library or Unity Framework? At the moment I have a feeling that you don't know what are these API for.
Anyway. How to use those frameworks together? Some example:
If you want to use mentioned frameworks you should have general idea about mentioned concepts. Almost each of this points is suitable for separate question. Answering all these points is like writing a book ...
Upvotes: 6