Replies: 1 comment 2 replies
-
1.全局关闭 UseAutoSyncStructure(false) https://github.com/dotnetcore/FreeSql/wiki/%e5%85%a5%e9%97%a8#freesqlbuilder
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
由于项目中使用了以前别人建的实体,实体结构与表结构不一致,在开发环境开启了自动同步结构,查询这些实体时会自动修改表结构,但是希望的是不修改。我想在同步结构的before事件里判断实体是否需要同步,把不需要同的实体移除。请问能不能做到,或者有没有其它方法!!
Beta Was this translation helpful? Give feedback.
All reactions