Beispiel #1
0
 private void SaveSpanToDB(string dbName, string tableName, List<DwSpan> spans, params string[] columnNames)
 {
     DwSpanDAO spanDao = new DwSpanDAO(ConfigHelper.GetDwSpanTableName(tableName), ConfigHelper.GetConnString(dbName));
     spanDao.Insert(spans, SqlInsertMethod.SqlBulkCopy, columnNames);
 }
Beispiel #2
0
 private void SaveSpanToDB(string dbName, string tableName, List<DwSpan> spans, params string[] columnNames)
 {
     DwSpanDAO spanDao = new DwSpanDAO(ConfigHelper.GetDwSpanTableName(tableName), ConfigHelper.GetConnString(dbName));
     spanDao.Insert(spans, SqlInsertMethod.SqlBulkCopy, columnNames);
 }
Beispiel #3
0
 private void SaveSpanToDB(string dbName, string tableName, DwSpan span)
 {
     DwSpanDAO spanDao = new DwSpanDAO(ConfigHelper.GetDwSpanTableName(tableName), ConfigHelper.GetConnString(dbName));
     spanDao.Insert(span);
 }
Beispiel #4
0
 private void SaveSpanToDB(string dbName, string tableName, DwSpan span)
 {
     DwSpanDAO spanDao = new DwSpanDAO(ConfigHelper.GetDwSpanTableName(tableName), ConfigHelper.GetConnString(dbName));
     spanDao.Insert(span);
 }