mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update OwnsOne
This commit is contained in:
@@ -386,6 +386,10 @@ namespace SqlSugar
|
|||||||
UpdateServerTime = column.UpdateServerTime,
|
UpdateServerTime = column.UpdateServerTime,
|
||||||
IsPrimarykey=column.IsPrimarykey
|
IsPrimarykey=column.IsPrimarykey
|
||||||
};
|
};
|
||||||
|
if (column.ForOwnsOnePropertyInfo != null)
|
||||||
|
{
|
||||||
|
columnInfo.DbColumnName = column.DbColumnName;
|
||||||
|
}
|
||||||
if (columnInfo.PropertyType.IsEnum() && columnInfo.Value != null)
|
if (columnInfo.PropertyType.IsEnum() && columnInfo.Value != null)
|
||||||
{
|
{
|
||||||
if (this.Context.CurrentConnectionConfig.MoreSettings?.TableEnumIsString == true)
|
if (this.Context.CurrentConnectionConfig.MoreSettings?.TableEnumIsString == true)
|
||||||
|
Reference in New Issue
Block a user