mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Bug: OwnsOne
This commit is contained in:
parent
c71a1ac798
commit
fecc6e9f0a
@ -317,7 +317,7 @@ namespace SqlSugar
|
||||
{
|
||||
column.DbColumnName = column.PropertyName;
|
||||
}
|
||||
if (isMapping)
|
||||
if (isMapping&&column.ForOwnsOnePropertyInfo==null)
|
||||
{
|
||||
columnInfo.DbColumnName = GetDbColumnName(column.PropertyName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user