mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 优化 GetPropertiesDictIgnoreCase 不返回没有 get 的属性;
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user