Hi,
I want to have a few ADMX files (in different projects) which will inherit one from another.
Searching a little bit online, I found out that the way to do that is using POCO.
I tried that. First I got only one ADMX, and everything worked fine.
I added another project, with a brand new entity, in the class generated in POCO tamplate I added the inheritance from the other class (which is in the first project).
I added both's project's references to my tester project (Web Application) and I got a runtime error:
Schema specified is not valid. Errors:
Model1.ssdl(3,4) : error 0019: The EntityContainer name must be unique
I checked, and the EntityContainer is not the same in both projects.
I should mention that both EDMX files are working with the same database.
Note: I had many more problems (such as:
The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid
then I added both connection strings from both projects app.config.
and then out of some sort of reason I got:
Error 3027: No mapping specified for the following EntitySet/AssociationSet
Since I couldn't find the solution anywhere (and to be honest, kind of got lost) I started a brand new solution and got to the point that I mentioned before.