diff --git a/src/CSVSourceReader.cs b/src/CSVSourceReader.cs index b08f3fd..2f90cf3 100644 --- a/src/CSVSourceReader.cs +++ b/src/CSVSourceReader.cs @@ -144,14 +144,7 @@ public bool IsDone() private bool RowMatchesConditions() { - foreach (MappingConditional conditional in mapping.Conditionals) - { - if (!_provider.CheckCondition(conditional, nextResult)) - { - return false; - } - } - return true; + return mapping.Conditionals?.CheckConditionals(nextResult) ?? true; } Dictionary nextResult; diff --git a/src/Dynamicweb.DataIntegration.Providers.CsvProvider.csproj b/src/Dynamicweb.DataIntegration.Providers.CsvProvider.csproj index d73f6b6..40cb737 100644 --- a/src/Dynamicweb.DataIntegration.Providers.CsvProvider.csproj +++ b/src/Dynamicweb.DataIntegration.Providers.CsvProvider.csproj @@ -1,6 +1,6 @@  - 10.6.2 + 10.6.3 1.0.0.0 CSV Provider CSV Provider