mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Bug: OwnsOne
This commit is contained in:
@@ -317,7 +317,7 @@ namespace SqlSugar
|
||||
{
|
||||
column.DbColumnName = column.PropertyName;
|
||||
}
|
||||
if (isMapping)
|
||||
if (isMapping&&column.ForOwnsOnePropertyInfo==null)
|
||||
{
|
||||
columnInfo.DbColumnName = GetDbColumnName(column.PropertyName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user