mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Synchronization code
This commit is contained in:
parent
c725420abf
commit
61f411b28b
@ -76,7 +76,12 @@ namespace SqlSugar
|
|||||||
attributeType.GetProperty(nameof(SugarColumn.SqlParameterDbType)),
|
attributeType.GetProperty(nameof(SugarColumn.SqlParameterDbType)),
|
||||||
attributeType.GetProperty(nameof(SugarColumn.SqlParameterSize)),
|
attributeType.GetProperty(nameof(SugarColumn.SqlParameterSize)),
|
||||||
attributeType.GetProperty(nameof(SugarColumn.IsArray)),
|
attributeType.GetProperty(nameof(SugarColumn.IsArray)),
|
||||||
attributeType.GetProperty(nameof(SugarColumn.ColumnName))
|
attributeType.GetProperty(nameof(SugarColumn.ColumnName)),
|
||||||
|
attributeType.GetProperty(nameof(SugarColumn.InsertSql)),
|
||||||
|
attributeType.GetProperty(nameof(SugarColumn.UpdateSql)),
|
||||||
|
attributeType.GetProperty(nameof(SugarColumn.ExtendedAttribute)),
|
||||||
|
attributeType.GetProperty(nameof(SugarColumn.IsDisabledAlterColumn)),
|
||||||
|
attributeType.GetProperty(nameof(SugarColumn.IsOwnsOne))
|
||||||
}
|
}
|
||||||
, new object[] {
|
, new object[] {
|
||||||
sugarTable.IsPrimaryKey,
|
sugarTable.IsPrimaryKey,
|
||||||
@ -96,7 +101,12 @@ namespace SqlSugar
|
|||||||
sugarTable.SqlParameterDbType,
|
sugarTable.SqlParameterDbType,
|
||||||
sugarTable.SqlParameterSize,
|
sugarTable.SqlParameterSize,
|
||||||
sugarTable.IsArray,
|
sugarTable.IsArray,
|
||||||
sugarTable.ColumnName
|
sugarTable.ColumnName,
|
||||||
|
sugarTable.InsertSql,
|
||||||
|
sugarTable.UpdateSql,
|
||||||
|
sugarTable.ExtendedAttribute,
|
||||||
|
sugarTable.IsDisabledAlterColumn,
|
||||||
|
sugarTable.IsOwnsOne
|
||||||
});
|
});
|
||||||
return attributeBuilder;
|
return attributeBuilder;
|
||||||
}
|
}
|
||||||
|
@ -523,6 +523,7 @@ namespace SqlSugar
|
|||||||
if (this.CurrentConnectionConfig.MoreSettings == null)
|
if (this.CurrentConnectionConfig.MoreSettings == null)
|
||||||
this.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings();
|
this.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings();
|
||||||
this.CurrentConnectionConfig.MoreSettings.DatabaseModel = DbType.Doris;
|
this.CurrentConnectionConfig.MoreSettings.DatabaseModel = DbType.Doris;
|
||||||
|
this.CurrentConnectionConfig.MoreSettings.DisableNvarchar = true;
|
||||||
break;
|
break;
|
||||||
case DbType.TDengine:
|
case DbType.TDengine:
|
||||||
Check.Exception(SugarCompatible.IsFramework, "TDengine only support .net core");
|
Check.Exception(SugarCompatible.IsFramework, "TDengine only support .net core");
|
||||||
|
Loading…
Reference in New Issue
Block a user