Synchronization code

This commit is contained in:
sunkaixuan
2023-06-19 08:54:34 +08:00
parent 186ae33a77
commit cd37901c2c

View File

@@ -127,6 +127,7 @@ namespace SqlSugar
private static List<Expression> GetIncludesByNameStringParameters(Type type,EntityColumnInfo item) private static List<Expression> GetIncludesByNameStringParameters(Type type,EntityColumnInfo item)
{ {
var parametres = new List<Expression> { }; var parametres = new List<Expression> { };
Check.ExceptionEasy(item == null, "\r\nThe \"IncludesByNameString\" method encountered an error. The navigation object does not exist. Please check the parameters and navigation configuration.", "IncludesByNameString方法出错导航对象不存在请检查参数和导航配置");
var properyType = item.PropertyInfo.PropertyType; var properyType = item.PropertyInfo.PropertyType;
var properyItemType = properyType; var properyItemType = properyType;
if (properyType.FullName.IsCollectionsList()) if (properyType.FullName.IsCollectionsList())