SqlServer Spatial DataReader.GetFieldType returned null

走远了吗. 提交于 2019-12-05 16:26:45

The nuget package Microsoft.SqlServer.Types is only for c# projects.

You can modify the class to be compatible with vb.net projects.

Install support into your project using:

Install-Package Microsoft.SqlServer.Types

Locate the following file:

/SqlServerTypes/Loader.cs

Convert the code in Loader.cs to vb (you can do this with an online converter) and save the file as: Loader.vb

Now you will be able to access the SqlServerTypes namespace from your project.

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