- 增加 ICodeFirst.SyncStructure 强制同步参数 isForceSync;#412

This commit is contained in:
28810
2020-08-12 16:18:44 +08:00
parent d10816d62c
commit 31a67a990d
5 changed files with 13 additions and 21 deletions

View File

@ -937,6 +937,8 @@ WHERE (((to_char(a.""ID"")) in (SELECT b.""TITLE""
public void AsTable()
{
g.dameng.CodeFirst.SyncStructure(typeof(Topic), "TB_TOPIC");
g.dameng.CodeFirst.SyncStructure(typeof(Topic), "TB_TOPIC");
g.dameng.CodeFirst.SyncStructure(typeof(Topic), "TB_TOPIC", isForceSync: true);
var listt = select.AsTable((a, b) => "(select * from tb_topic where clicks > 10)").Page(1, 10).ToList();