BulkInsertCopy doesn't work: 'DestinationTableName' cannot be initialized. It is not a field or property. #166
Unanswered
mathewcoolpix-jpg
asked this question in
Q&A
Replies: 1 comment
-
|
Hi, this is happening because init properties are a recent feature that doesn't work out of the box in .NET framework. Add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Visual Studio 2019, framework 4.6.2, clickhouse.driver version 0.9.0.
When I try to bulk insert data, I can't initialize the DestinationTableName variable.
The program doesn't compile, the variable is underlined in red, and the following error appears: Member 'DestinationTableName' cannot be initialized. It is not a field or property.
If I delete this variable, the program compiles, but when I try to insert, it returns an error that DestinationTableName is null.
Can you suggest what the error might be?

Beta Was this translation helpful? Give feedback.
All reactions