コード例 #1
0
 public BlobSaver(string dbpath, string tableName, string columnName, long rowId, string blobFile)
     : base("BlobSaver")
 {
     _blobWriter = new BlobReaderWriter(dbpath, false);
     _tableName  = tableName;
     _columnName = columnName;
     _rowId      = rowId;
     _blobFile   = blobFile;
 }
コード例 #2
0
 public BlobSaver(string dbpath, string tableName, string columnName, long rowId, byte[] buffer)
     : base("BlobSaver")
 {
     _blobWriter = new BlobReaderWriter(dbpath, false);
     _tableName  = tableName;
     _columnName = columnName;
     _rowId      = rowId;
     _buffer     = buffer;
 }
コード例 #3
0
 public BlobCompareWorker(string dbpath1, string dbpath2, string tableName, string columnName, long rowId1, long rowId2)
     : base("BlobCompareWorker")
 {
     _engine     = new BlobReaderWriter(dbpath1, dbpath2);
     _tableName  = tableName;
     _columnName = columnName;
     _rowId1     = rowId1;
     _rowId2     = rowId2;
 }
コード例 #4
0
 public BlobCopier(string sourcedb, string targetdb, string tableName, string columnName, long fromRowId, long toRowId)
     : base("BlobCopier")
 {
     _engine     = new BlobReaderWriter(sourcedb, true);
     _targetdb   = targetdb;
     _tableName  = tableName;
     _columnName = columnName;
     _fromRowId  = fromRowId;
     _toRowId    = toRowId;
 }