Solution:
Step 1: Check whether you have install latest version of 'Microsoft.SqlServer.Types' nuget package. If not install it first.
https://www.nuget.org/packages/Microsoft.SqlServer.Types/
Step 2: If you have already installed the nuget package but if issue remains same. Un-install the current version of 'Microsoft.SqlServer.Types' nuget package and then reinstall the latest version.
0 Comments