mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 增加 pgsql 扩展方法 ISelect<T>.DistinctOn;#1680
This commit is contained in:
@ -101,7 +101,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
if (objects == null) return;
|
||||
var syncObjects = objects.Where(a => a.tableSchema?.Type != null &&
|
||||
(
|
||||
a.tableSchema.Type.Name == "DynamicDbContext" && a.tableSchema.Columns.Any()
|
||||
a.tableSchema.Type == typeof(object) && a.tableSchema.Columns.Any()
|
||||
||
|
||||
a.tableSchema.Type != typeof(object) && _dicSycedGetOrAdd(a.tableSchema.Type).ContainsKey(GetTableNameLowerOrUpper(a.tableName)) == false
|
||||
) &&
|
||||
|
Reference in New Issue
Block a user