摘要:
/// ///使用SqlBulkCopy方式插入数据 /// /// privatestaticlongSqlBulkCopyInsert() { Stopwatchstopwatch=newStopwatch(); stopwatch.Start(); DataTabledataTable=GetTableSchema(); for(inti=0;i<count;i++) { DataRowdataRow=dataTable.NewRow(); dataRow[2]=Guid.NewGuid(); dataTable.Rows.Add(dataRow); } //Console.Wri 阅读全文