unable to import OleDbConnection in dotnet core entity framework

南笙酒味 提交于 2019-12-01 20:36:45

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!