This is one of the most common compile-time errors you may encounter in the Entity Framework. This is because either of:
Decision:
To fix this problem:
If version conflicts, install the package for the appropriate version of EF.
If the version is the same, change the specified namespace to System.Data.Entity.Core.Objects
source share