Entity Framework edmx across projects

I have an edmx file that I would like to use in different projects. I have it in project1 and would like to use it in project2 as well. How do I reference it in project 2? Right now I have to create identical edmx files in both projects.
DistillingExpertsAsked:
Who is Participating?
 
Praveen KumarConnect With a Mentor ArchitectCommented:
Then create a separate project(blank or class library) for entities (edmx).
Than add references to your other projects and use those classes.
0
 
Praveen KumarArchitectCommented:
You cannot... edmx file is just visual representation for the entities.
0
 
DistillingExpertsAuthor Commented:
I am sorry but edmx seems to be much more then simply a visua representation. If I visualize it in xml I can see the entire database that I am using mapped on it.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Praveen KumarArchitectCommented:
You mean you see Data in XML? or databse Schema?
0
 
Praveen KumarArchitectCommented:
0
 
DistillingExpertsAuthor Commented:
I still need to have one edmx to bwe used in different project. Is that not possible?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.