mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
-
This commit is contained in:
parent
6d0f45a944
commit
f14244714b
@ -97,7 +97,7 @@ namespace SqlSugar
|
||||
else
|
||||
{
|
||||
var mappingInfo = this.Context.MappingColumns.SingleOrDefault(it => it.EntityName == typeName && it.DbColumnName == dbColumnName);
|
||||
return mappingInfo == null ? dbColumnName : mappingInfo.DbColumnName;
|
||||
return mappingInfo == null ? dbColumnName : mappingInfo.PropertyName;
|
||||
}
|
||||
}
|
||||
public PropertyInfo GetProperty<T>(string dbColumnName)
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user