davej
davej

Reputation: 1380

add existing entity framework to new asp.net app

I have an entity framework model that I created in one app, and I'd like to import(?) it into a new asp.net app. How is this done?

Upvotes: 0

Views: 94

Answers (2)

MayogaX
MayogaX

Reputation: 469

If you use a, for exemple, a Class Libary project for to make your EF model you can to add this project to another with "Project Reference"

Upvotes: 1

pseudocoder
pseudocoder

Reputation: 4392

I like to keep my EF models in their own Class Library projects. Then you can just open the existing project in any new solution in which you want the model to be included.

Upvotes: 1

Related Questions