Problem with BulkInsert when having column name like In or As
MatGauthier opened this issue · comments
Hi @mtanneryd, thank you for the effort you put into this library. I was importing chemical analysis in a Datawaharehouse having column name like "As" and "In" that throw error when they are not between []. There's missing [] in some function of DbContextExtensions that involve ColumnName.
Here's a version of DbContextExtensions that fixes the problem but did it very quick and didn't do many many test with it. Next time I will take the time to do a pullrequest to ease the merge job.
Hi,
In fact, I downloaded the master code monday august 21 to apply the fix I sent to you. So if the prerelease uses master, yep I tested it.
Cheers
These issues should be fixed now so I'm closing the issue. Please reopen it if you find that these changes were not enough. Thanks for all your feedback and contributions.