问题
unable to import OleDbConnection in dotnetcore entity framework while transferring data from excel to sqlserver
回答1:
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
来源:https://stackoverflow.com/questions/49993919/unable-to-import-oledbconnection-in-dotnet-core-entity-framework