- 修复 XML注释可能引起文件被锁报错的问题;

This commit is contained in:
2881099
2024-05-20 12:17:05 +08:00
parent 885826254a
commit bc85b9cce4
4 changed files with 143 additions and 111 deletions

View File

@ -162,7 +162,7 @@ namespace FreeSql
if (dictAfter.ContainsKey(key) == false)
dictAfter.Add(key, item);
else if (key == "0" && table.Primarys.Length == 1 &&
new[] { typeof(long), typeof(long) }.Contains(table.Primarys[0].CsType))
new[] { typeof(long), typeof(int) }.Contains(table.Primarys[0].CsType))
tracking.InsertLog.Add(NativeTuple.Create(elementType, item));
}
else tracking.InsertLog.Add(NativeTuple.Create(elementType, item));