views:

21

answers:

0

We have a Model project with 4 EF models in it. Notice the properties folder starts out empty.

FourModels.PNG

With the Model project selected I open the data sources window. Three datasources are created and displayed. You can see how it creates a .datasource file for each model, except the eFinancials model.

DataSourcesInPropertiesFolder.PNG ThreeDataSources.PNG

Any ideas why this happens. There is some speculation here that is has to do with the fact that we named the eFinancials Model container eFinEntities (to shorten it) rather than efinancialsEntites might be causing the problem... but I haven't been able to verify this.

There is a connection string in app.config file in the model for each of the form models. And, if I do a "Refresh from database" (we have to to add anything new since we can't drag it from the datasources window) it does connect to the correct server/db.

Granted this is a minor annoyance because as I said, we work around it by using "Refresh from db" to add new entities as new tables are added to the db

Thanks for any advice you can offer.