unable to import OleDbConnection in dotnet core entity framework

后端 未结 2 1650
小鲜肉
小鲜肉 2020-12-07 02:15

unable to import OleDbConnection in dotnetcore entity framework while transferring data from excel to sqlserver

相关标签:
2条回答
  • 2020-12-07 03:05

    OleDb is not available in .NET Core, probably because it's not cross platform.

    Have a look at the System.Data.OleDb Namespace in .NET Core 2.0.

    Alternative
    For a decent alternative, have a look at the answer to this Stack Overflow question: How to get OleDb for reading excel in asp.net core project

    0 讨论(0)
  • 2020-12-07 03:06

    OleDb is now available for .NET Core. System.Data.OleDb is available on NuGet.org

    0 讨论(0)
提交回复
热议问题