mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-24 13:52:11 +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