I am using SqlBulkCopy
class to insert 50k rows at a time in table tbl_records
I have set a After Insert
trigger on this table and usi
The SqlBulkCopy object's batch size is the full set of rows, by default.
Here's what MSDN says about the BatchSize property values: "Zero (the default) indicates that each WriteToServer operation is a single batch."
In this case, the trigger will fire once, but the Inserted table will have entries for all of the affected records.