mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 增加 IInsert.ExecutePgCopy 扩展方法执行 PostgreSQL Copy 批量导入,在 FreeSql.Provider.PostgreSQL 可用;
This commit is contained in:
@ -488,6 +488,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
if (col.Attribute.IsIdentity == false && _ignore.ContainsKey(col.Attribute.Name)) continue;
|
||||
dt.Columns.Add(col.Attribute.Name, col.Attribute.MapType);
|
||||
}
|
||||
if (dt.Columns.Count == 0) return dt;
|
||||
foreach (var d in _source)
|
||||
{
|
||||
var row = new object[dt.Columns.Count];
|
||||
|
Reference in New Issue
Block a user