R
R
Ruslan2014-02-05 16:18:59
Entity Framework
Ruslan, 2014-02-05 16:18:59

Is it possible to use both entity framework 4 with Database first methodology and entity framework 6 with code firs methodology in the same project on VS 2010?

Hello, tell me, please, is it possible to use both entity framework 4 with the Database first methodology and entity framework 6 with the code firs methodology in one project on VS 2010.
The situation is as follows: there is a project from 2011 in which a lot of functionality was done in EF4, now there is a desire to use the code first approach, which, as I understand it, is supported in EF6, while not rewriting existing code.
The question is: is it possible to obtain such a combination, and if possible, how to add entities (and tables in BD) to an existing project, how to simultaneously use objects projected onto the same table from both EF4 objects and EF6 objects.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question