- 修复 InsertDict SqlServer 下的问题;

This commit is contained in:
2881099
2023-03-15 21:09:59 +08:00
parent 09664cb3ad
commit 357e52a59f
4 changed files with 30 additions and 11 deletions

View File

@ -622,7 +622,8 @@ namespace FreeSql.Internal.CommonProvider
Attribute = new DataAnnotations.ColumnAttribute
{
Name = colName,
MapType = colType
MapType = colType,
DbType = "", //for SqlServer: ncharDbTypes.Any(a => mapColumn.Attribute.DbType.Contains(a))
},
CsType = colType
};