views:

8

answers:

0

I have a WinForms application. I created an EDM from my database and called it Foo. Then, I deleted the model.

Now, when I try to regenerate the same EDM again from the same database, it doesn't allow me to name the newly generated model Foo. It says that the name Foo conflicts with a property in the application's settings.

I poked around the Settings files under the project's properties folder and also the resource files under the same folder but I can't find any reference to the name Foo.

How do I give the new model the same name Foo?

If that's relevant, I am using Entity Framework 4 with VS 2010.

Fixed:

I'd forgotten to remove the connectionstring entry from the app.config.