I have two applications:
- WCF service using EF6
- Web API server, planning to use EF Core
If they both connect to the same database, are there any compatibility concerns in terms of schema generation or anything regarding data integrity?
I have two applications:
If they both connect to the same database, are there any compatibility concerns in terms of schema generation or anything regarding data integrity?
It depends: We are currently in a similar situation, where our production systems run EF 6, and we plan to use EF Core in the future. So far we have one smaller application running EF Core on the same database without any problems, but you have to consider some things for your situation:
EF 6 and EF Core are just ORM's. They will not interfere with each other when reading and writing to a database.
As noted by others you may get in trouble if you are doing a code first strategy.
It Depend. Entity Framework Core (EF Core) is a lightweight, extensible, and cross-platform version of Entity Framework click
EF 6 only work in .net framework, if you planing to run your API in Cross-platform User EF Core