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