Closed chenhunhun closed 3 months ago
@chenhunhun you get these errors because DestinationTableName
is init only (since 7.0.0 probably) and write to server function is WriteToServerAsync(IDataReader, CancellationToken)
. Also you need to call InitAsync()
first. You can find an example here.
when i try to migrate the sqlserver data to clickhouse,
i get error: “ClickHouseBulkCopy.get_DestinationTableName()” or “ClickHouseBulkCopy.set_DestinationTableName(?)” ConsoleApp1 C:\Users\Administrator\source\repos\ConsoleApp1\ConsoleApp1\Program.cs 24
and WriteToServer function is not exist.