We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开启自动同步以后,直接执行 SQL 语句 DROP TABLE 删除表,然后插入数据,就不会自动建表,而是报 对象名 xx 无效。
DROP TABLE
对象名 xx 无效。
The text was updated successfully, but these errors were encountered:
是的,SyncStructure 有防止运行中重复迁移
FreeSql/FreeSql/Internal/CommonProvider/CodeFirstProvider.cs
Line 71 in 7a2000a
两个办法的可以解决
新建临时 IFreeSql 执行,SyncStructure,用完释放 IfreeSql
反射控制内部变量,看上面文件 71 行那个字段,再使用 SyncStructure 迁移
Sorry, something went wrong.
No branches or pull requests
开启自动同步以后,直接执行 SQL 语句
DROP TABLE
删除表,然后插入数据,就不会自动建表,而是报对象名 xx 无效。
The text was updated successfully, but these errors were encountered: