void bulkCopy_SqlRowsCopied(object sender, SqlRowsCopiedEventArgs e) { DbBulkExecuteEventArgs arg = new DbBulkExecuteEventArgs(e.RowsCopied); onSqlRowsCopied(arg); e.Abort = arg.Abort; }
protected virtual void onSqlRowsCopied(DbBulkExecuteEventArgs arg) { if (_SqlRowsCopied != null) { _SqlRowsCopied(this, arg); } }