Skip to content

Commit

Permalink
- 处理 PgArrayToMany AsSelect 子查询 #1145
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 committed Jun 6, 2022
1 parent 7839b42 commit c205add
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 131 deletions.
6 changes: 6 additions & 0 deletions FreeSql.DbContext/DbSet/DbSetSync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,12 @@ void LocalEach(DbSet<object> dbset, IEnumerable<object> items, bool isOneToOne)
}
}

var atms = navs.Where(a => a.Item1.RefType == TableRefType.PgArrayToMany).ToList();
if (atms.Any())
{

}

if (dbset == rootDbSet)
{
if (CanRemove(data, true) == false) return;
Expand Down
Loading

0 comments on commit c205add

Please sign in to comment.