private void CopyMembers(BulkInsertParameters old)
 {
     this.filename          = old.filename;
     this.checkConstraints  = old.checkConstraints;
     this.codePage          = old.codePage;
     this.dataFileType      = old.dataFileType;
     this.fieldTerminator   = old.fieldTerminator;
     this.firstRow          = old.firstRow;
     this.fireTriggers      = old.fireTriggers;
     this.formatFile        = old.formatFile;
     this.keepIdentity      = old.keepIdentity;
     this.keepNulls         = old.keepNulls;
     this.kilobytesPerBatch = old.kilobytesPerBatch;
     this.lastRow           = old.lastRow;
     this.maxErrors         = old.maxErrors;
     this.order             = old.order;
     this.rowsPerBatch      = old.rowsPerBatch;
     this.rowTerminator     = old.rowTerminator;
     this.tabLock           = old.tabLock;
     this.errorFile         = old.errorFile;
 }
Example #2
0
        public BulkInsertImporter(BulkInsertParameters parameters)
        {
            InitializeMembers();

            this.parameters = parameters;
        }
Example #3
0
 private void InitializeMembers()
 {
     this.parameters = null;
 }
Example #4
0
 private void InitializeMembers()
 {
     this.parameters = null;
 }
Example #5
0
        public BulkInsertImporter(BulkInsertParameters parameters)
        {
            InitializeMembers();

            this.parameters = parameters;
        }
 public BulkInsertParameters(BulkInsertParameters old)
 {
     CopyMembers(old);
 }
 public BulkInsertParameters(BulkInsertParameters old)
 {
     CopyMembers(old);
 }
 private void CopyMembers(BulkInsertParameters old)
 {
     this.filename = old.filename;
     this.checkConstraints = old.checkConstraints;
     this.codePage = old.codePage;
     this.dataFileType = old.dataFileType;
     this.fieldTerminator = old.fieldTerminator;
     this.firstRow = old.firstRow;
     this.fireTriggers = old.fireTriggers;
     this.formatFile = old.formatFile;
     this.keepIdentity = old.keepIdentity;
     this.keepNulls = old.keepNulls;
     this.kilobytesPerBatch = old.kilobytesPerBatch;
     this.lastRow = old.lastRow;
     this.maxErrors = old.maxErrors;
     this.order = old.order;
     this.rowsPerBatch = old.rowsPerBatch;
     this.rowTerminator = old.rowTerminator;
     this.tabLock = old.tabLock;
     this.errorFile = old.errorFile;
 }