void bulkCopy_SqlRowsCopied(object sender, SqlRowsCopiedEventArgs e)
        {
            DbBulkExecuteEventArgs arg = new DbBulkExecuteEventArgs(e.RowsCopied);

            onSqlRowsCopied(arg);
            e.Abort = arg.Abort;
        }
Esempio n. 2
0
 protected virtual void onSqlRowsCopied(DbBulkExecuteEventArgs arg)
 {
     if (_SqlRowsCopied != null)
     {
         _SqlRowsCopied(this, arg);
     }
 }