I\'m facing this issue today. I made an API with .NET Core and I created a function to insert records into a SQL Server database.
SqlCommand.ExecuteNonQuery