- fix: ISelect.InsertInto 自动迁移;

This commit is contained in:
2881099 2022-05-29 13:57:16 +08:00
parent 4c7de1da8a
commit 184d11d692

View File

@ -953,6 +953,7 @@ namespace FreeSql.Internal.CommonProvider
if (string.IsNullOrEmpty(tableName)) tableName = tb.DbName;
if (_orm.CodeFirst.IsSyncStructureToLower) tableName = tableName.ToLower();
if (_orm.CodeFirst.IsSyncStructureToUpper) tableName = tableName.ToUpper();
if (_orm.CodeFirst.IsAutoSyncStructure) _orm.CodeFirst.SyncStructure(typeof(TTargetEntity), tableName);
var map = new ReadAnonymousTypeInfo();
var field = new StringBuilder();