SqlSugarException.NotSupportedException 返回
SqlSugarException.NotSupportedException: "game_insidejl.sys.hierarchyid" Type NotSupported, DbBindProvider.GetPropertyTypeName error. 这个是什么意思 要怎么处理
热忱回答(3)
-
fate stay night VIP0
2019/5/19static SqlSugarClient singleDb = new SqlSugarClient(
new ConnectionConfig()
{
ConfigId = 1,
DbType = DbType.SqlServer,
ConnectionString = Config.ConnectionString,
InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,
ConfigureExternalServices=new ConfigureExternalServices() {
AppendDataReaderTypeMappings=new List<KeyValuePair<string, CSharpDataType>>() {
new KeyValuePair<string, CSharpDataType>("game_insidejl.sys.hierarchyid",CSharpDataType.@object)
}
},
0 回复 -
奶糖超人 VIP0
2019/5/19啥意思 没个说明吗
0 回复 -
奶糖超人 VIP0
2019/5/19这个只是抛出中文异常 解决方案 提供下
0 回复