Update exp to sql

This commit is contained in:
sunkaixuan 2023-11-05 22:27:55 +08:00
parent c336836320
commit 78ae4ee51a

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));
}