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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
All Courses

From novice to tech pro — start learning today.