Entity DataSource not working with Entity Framework 6 Upgrade

前端 未结 3 1354
温柔的废话
温柔的废话 2020-12-06 12:03

I recently upgraded our Webforms application from EF 4.4 to EF6 and I got so many compile time build errors with the Entity Datasource controls. Generally I am getting these

3条回答
  •  青春惊慌失措
    2020-12-06 12:28

    As per the suggestions given by the IDE, we can go to the NuGet Package Console and run the following command to install the new Entity Framework data source:

    Install-Package Microsoft.AspNet.EntityDataSource
    

    Also, add the following package (as referred in this article):

    Install-Package Microsoft.AspNet.DynamicData.EFProvider
    

提交回复
热议问题