Update .net core project

This commit is contained in:
sunkaixuan
2022-06-09 20:01:02 +08:00
parent d0966eb921
commit 9519d2a57b
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ namespace SqlSugar
public void InitTables(Type type) public void InitTables(Type type)
{ {
var isSplitEntity = type.GetCustomAttributes<SplitTableAttribute>() != null; var isSplitEntity = type.GetCustomAttribute<SplitTableAttribute>() != null;
if (isSplitEntity) if (isSplitEntity)
{ {
_InitTables(type); _InitTables(type);

View File

@@ -354,7 +354,7 @@ namespace SqlSugar
{ {
//var setValue = navList //var setValue = navList
// .Where(x => navColumn.PropertyInfo.GetValue(x).ObjToString() == listItemPkColumn.PropertyInfo.GetValue(item).ObjToString()).ToList(); // .Where(x => navColumn.PropertyInfo.GetValue(x).ObjToString() == listItemPkColumn.PropertyInfo.GetValue(item).ObjToString()).ToList();
var groupQuery = (from l in list var groupQuery = (from l in list.Distinct()
join n in navList join n in navList
on listItemPkColumn.PropertyInfo.GetValue(l).ObjToString() on listItemPkColumn.PropertyInfo.GetValue(l).ObjToString()
equals navColumn.PropertyInfo.GetValue(n).ObjToString() equals navColumn.PropertyInfo.GetValue(n).ObjToString()