mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
-
This commit is contained in:
parent
2e2c55fdd8
commit
079de97869
@ -21,8 +21,8 @@ namespace SqlSugar.ClickHouse
|
||||
bulkCopy = new ClickHouseBulkCopy(conn);
|
||||
await conn.OpenAsync();
|
||||
bulkCopy.BatchSize = 100000;
|
||||
var pro=bulkCopy.GetType().GetProperty("DestinationTableName");
|
||||
pro.SetValue(bulkCopy,dt.TableName);
|
||||
var proDestinationTableName = bulkCopy.GetType().GetProperty("DestinationTableName");
|
||||
proDestinationTableName.SetValue(bulkCopy,dt.TableName);
|
||||
await bulkCopy.InitAsync();
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user