コード例 #1
0
 public OrdCsvToXpoInserter(ImportOrdinalsParam param, Stream stream,
                            Xafology.ExpressApp.Xpo.ValueMap.IXpoFieldMapper xpoFieldMapper, Xafology.ExpressApp.Xpo.ValueMap.IImportLogger logger)
 {
     csvReader           = new CsvReader(new StreamReader(stream), false);
     objTypeInfo         = param.ObjectTypeInfo;
     this.param          = param;
     this.xpoFieldMapper = xpoFieldMapper;
     this.logger         = logger;
     recordMapper        = new OrdCsvToXpoRecordMapper(xpoFieldMapper, param.OrdToFieldMaps, csvReader);
     FieldMapsUtil.ValidateParameters(param);
 }