Forum Discussion

mtejjini's avatar
mtejjini
New Contributor III
8 months ago

Type 'SqlBulkCopy' is not defined.

Hello everyone, I am trying to create a table in OS with the fx rates by calling an API while calling the API, i can get the data needed but i have this error <Type 'SqlBulkCopy' is not defined.> t...
  • RobbSalzmann's avatar
    8 months ago

    .net version changes with V8.

    Use Microsoft.Data.SqlClient instead of System.Data.SqlClient;