private Exception GetConvertException(object value, EtlFieldMapping mapping, Type targetType) { return(new FormatException ( string.Format ( Properties.Resources.FieldCannotBeConverted, mapping.SourceFieldName, value, targetType.FullName ) )); }
private object MapValue(EtlFieldMapping mapping) { var mappedValue = EtlValueTranslation.Evaluate(mapping.SourceFieldName, mapping.SourceFieldTranslation, _sourceReader, mapping.DefaultValue); return mappedValue; }
private Exception GetConvertException(object value, EtlFieldMapping mapping, Type targetType) { return new FormatException ( string.Format ( Properties.Resources.FieldCannotBeConverted, mapping.SourceFieldName, value, targetType.FullName ) ); }
private object MapValue(EtlFieldMapping mapping) { var mappedValue = EtlValueTranslation.Evaluate(mapping.SourceFieldName, mapping.SourceFieldTranslation, _sourceReader, mapping.DefaultValue); return(mappedValue); }