I have a asp.net website(Not a asp.net web application project), is it possible to intergrate entity framework in a existing asp.net website project? (Not in a website application project)
Yes i found that out myself, but must i make any modifications? or add a extra file like global.asac, and add modifications to that file? (like in a webapplication project?)
Clubict
Member
222 Points
195 Posts
How to add entity model to a existing asp.net website (not a webapplication)
Nov 16, 2012 11:56 AM|LINK
Hi,
I have a asp.net website(Not a asp.net web application project), is it possible to intergrate entity framework in a existing asp.net website project? (Not in a website application project)
I'm using Visual Studio 2010.
Best regards,
Mark
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: How to add entity model to a existing asp.net website (not a webapplication)
Nov 17, 2012 12:27 AM|LINK
Hi,
I think you can!
Just open up your web site in VS, and then right click your proj to add from the wizard window by choosing the EF and follow the wizard windows' tips.
Reguards!
Clubict
Member
222 Points
195 Posts
Re: How to add entity model to a existing asp.net website (not a webapplication)
Nov 17, 2012 08:06 AM|LINK
Hi Decker,
Yes i found that out myself, but must i make any modifications? or add a extra file like global.asac, and add modifications to that file? (like in a webapplication project?)
Best regards,
Mark
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: How to add entity model to a existing asp.net website (not a webapplication)
Nov 17, 2012 08:07 AM|LINK
No, You just add this. That's OK.