Hi! Excelent works with your library! but when execute a BulkInsert basic without parameters....
I get this error "Error Cannot access destination table '[SchemaName.TableName]'" but the schema and table name exists.
I debug your code and the the problem is the "[]" brackets around the [SchemaName.TableName], see the next example:
SELECT * FROM [vad.VadeResults] --> It is not work (Current Behavior)
SELECT * FROM vad.VadeResults --> It's Works (Expected)
SELECT * FROM [vad].[VadeResults] --> It's Works (Expected Better)
I thinks that the expression to complete the "DestinationTableName" property must be something like that [SchemaName].[TableName] to be compatible with differents schemas, and also avoid tables with reserved words...
As Workaround, I remove the brackets concatenation from this code, and works fine:
Thanks in advanced!