| | SqlBulkInsert is a thread-safe class for spooling SQL insert queries against an existing schema. It is made thread-safe by locking Add, Insert, and Clear invocations against the is_inserting bool; Locking the table object or table.Rows collection is ineffective The schema may be optionally cached to disk for repeated use. The implementing class should only need to add as many entries as desired using the Add method, and if Auto-insert is enabled, the Insert method is auto-invoked when the 'BulkSize' property is reached. Invoking Insert causes the spooled datarows to be bulkcopied into the target database. More...
|