- 优化 GetPropertiesDictIgnoreCase 不返回没有 get 的属性;

This commit is contained in:
2881099
2023-07-26 20:27:52 +08:00
parent 6fcee2b571
commit a73a6ab221
5 changed files with 67 additions and 3 deletions

View File

@ -208,6 +208,7 @@ public static partial class FreeSqlGlobalExtensions
if (existsProp.DeclaringType != prop.DeclaringType) dict[prop.Name] = prop;
continue;
}
if (prop.GetGetMethod() == null) continue;
dict.Add(prop.Name, prop);
}
return dict;