Home > Mobile >  In Asp.net mvc EF can i use code first and db first at the same time
In Asp.net mvc EF can i use code first and db first at the same time

Time:09-27

So i have a project working with entityframework code first and everything is fine, but now i need to read some data from another database, i just want to read form it and don't want to modify it in anyway. Forgive me if the title is misleading but that what came to my mind

Thanks in advace

CodePudding user response:

Yes you can have both Entity Framework approaches in same asp.net MVC project, all you need to do is create a separate new entity model with Database first approach as selection.

  • Related