Cannot implicitly convert type System.Data.Entity.Core.Objects.ObjectResult to System.Data.Objects.ObjectResult

后端 未结 5 1838
感动是毒
感动是毒 2021-02-14 15:30

I am trying to update an EDMX Stored Procedure and I am getting this error:

Cannot implicitly convert type System.Data.Entity.Core.Objects.ObjectResult

5条回答
  •  生来不讨喜
    2021-02-14 16:04

    You need to upgrade to the new Entity Framework 6 runtime.

    Right-click on your project and select Manage NuGet Packages... Under the Online tab select EntityFramework and click Install Note: If a previous version of the EntityFramework NuGet package was installed this will upgrade it to EF6. Alternatively, you can run the following command from Package Manager Console:

    PM> Install-Package EntityFramework
    

    Reference: http://msdn.microsoft.com/en-US/data/upgradeEF6

提交回复
热议问题