mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 修复 UseGenerateCommandParameterWithLambda + Enum + MapType(string) bug;
This commit is contained in:
@ -169,7 +169,7 @@ public static partial class FreeSqlGlobalExtensions
|
||||
{
|
||||
if (dict.TryGetValue(prop.Name, out var existsProp))
|
||||
{
|
||||
if (existsProp.DeclaringType != prop) dict[prop.Name] = prop;
|
||||
if (existsProp.DeclaringType != prop.DeclaringType) dict[prop.Name] = prop;
|
||||
continue;
|
||||
}
|
||||
dict.Add(prop.Name, prop);
|
||||
|
Reference in New Issue
Block a user