Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 20, 2008 05:31 AM by Nomanvb
Nov 20, 2008 05:31 AM|LINK
I am trying to implement EF in a average scale project. As a matter of fact I had to developed Data Access Components and Business Logic Components over EF technology. I am facing so much challenges implementing EF but its ok and I must
say it is enjoyable in a sense.
My most recent problem with EF is its Model namespace feature. I am using EF in my data access layer (DAL). I hide most of the elements of EF in business logic layer (BLL) as well as in presentation logic layer (PLL). I have Person DAL
class Address DAL class and so on. All those class has ISL.App.DAL namespace. Now when I am going to add Entity Data Model giving the same namespace ISL.App.DAL as Model namespace it shows me an error.
Here is the error message.
“The model namespace ‘ISL.App.DAL’ is already in use. Please choose a different namespace”
It seems VS2008 IDE assume that the project already have a model with that namespace which is not true. I don’t know how to deal with this problem. Is this a bug?
entity data framework
Visual Studio 2008
.NET framework 3.5