Shai UI
Shai UI

Reputation: 51976

Can I have Entity Framework and Linq-to-SQL run together?

I'd like to know if it's possible to have both Linq-to-SQL and Entity Framework running side-by-side. Our current configuration is Linq-to-SQL and we'd like to eventually move to EF. But there's just too much going on in the Linq-to-SQL side right now and we'd like to do it in phases.

so any chance we can just start writing new stuff in entity framework but leave the older stuff running as is? And is it worth it?

Upvotes: 0

Views: 381

Answers (1)

casperOne
casperOne

Reputation: 74560

There's nothing stopping you from using the two technologies in the same project, but you can't share the contexts or the models between the two.

Assuming you are willing to pay the price for the differences, there is nothing to stop you from using both in your project.

Upvotes: 4

Related Questions