I need to insert multiple rows at the same time (1000 rows) into a SQL Server database. I think best way is to use SqlBulkCopy
but I'm not sure how to parametrize insert queries to be safe from SQL injection.
Can you please help me? What is best way to perform multiple insert statements (SQL injection safe)?
Thank you.