Пример #1
0
 public RequestJob(string objectName,
                   OperationEnum operation,
                   string externalIdFieldName          = null,
                   ColumnDelimiterEnum columnDelimiter = ColumnDelimiterEnum.COMMA,
                   ContentTypeEnum contentType         = ContentTypeEnum.CSV,
                   LineEndingEnum lineEnding           = LineEndingEnum.CRLF,
                   int maxLinesFileCSV  = 10000,
                   string directoryWork = ""
                   )
 {
     Init(objectName, externalIdFieldName, operation, columnDelimiter, contentType, lineEnding, maxLinesFileCSV, directoryWork);
 }
Пример #2
0
 private void Init(string objectName,
                   string externalIdFieldName,
                   OperationEnum operation,
                   ColumnDelimiterEnum columnDelimiter,
                   ContentTypeEnum contentType,
                   LineEndingEnum lineEnding,
                   int maxLinesFileCSV,
                   string directoryWork
                   )
 {
     ColumnDelimiter     = columnDelimiter;
     ContentType         = contentType;
     ExternalIdFieldName = externalIdFieldName;
     Operation           = operation;
     LineEnding          = lineEnding;
     Object          = objectName;
     MaxLinesFileCSV = maxLinesFileCSV;
     DirectoryWork   = directoryWork;
 }