Synchronization code

This commit is contained in:
sunkaixuan 2023-11-05 22:29:51 +08:00
parent 78ae4ee51a
commit 7c9b702527

View File

@ -563,7 +563,7 @@ namespace SqlSugar
{
reval = fieInfo.GetValue(reval);
}
if (fieInfo == null && proInfo == null)
if (fieInfo == null && proInfo == null&& !reval.GetType().FullName.IsCollectionsList())
{
Check.Exception(true, string.Format(" Property \"{0}\" can't be private ", pro.Name));
}