We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07ee520 commit 4749331Copy full SHA for 4749331
Extensions/FreeSql.Extensions.ZeroEntity/ZeroDbContext.cs
@@ -105,6 +105,13 @@ public void SyncStructure()
105
_orm.CodeFirst.SyncStructure(table, table.DbName, false);
106
}
107
108
+ public void SyncStructure(TableDescriptor[] schemas)
109
+ {
110
+ _tables = ValidateSchemaToInfoInternal(_orm, schemas);
111
+ foreach (var table in _tables)
112
+ _orm.CodeFirst.SyncStructure(table, table.DbName, false);
113
+ }
114
+
115
/// <summary>
116
/// 同步指定表结构
117
/// </summary>
0 commit comments