Skip to content

Commit cfe2f9f

Browse files
committed
Fix the broken character.
1 parent 324ba77 commit cfe2f9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pages/releases/core.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ New
2727
Breaking
2828
{: .label .label-red }
2929

30-
- Made the `where` argument required (removed its default `null` value) on the `Average`, `BatchQuery`, `Count`, `Max`, `Min`, `SkipQuery` and `Sum` operations, across the `BaseRepository`, `DbRepository` and `DbConnection` objects and extensions. [#1266](https://github.com/mikependon/RepoDB/issues/1266)
31-
- Reworked the automatic conversion logic in [Converter](/class/converter).ToType<T>(). A `null` or `DBNull` scalar result now raises a clearer `InvalidCastException` naming both the offending value and the target type, unless `GlobalConfiguration.Options.ConversionType` is set to `Automatic`, the target is a reference/by-ref type, or the target is `System.Object` - in those cases the type's `default` value is returned instead. The [Exists](/operation/exists) operation now always forces the automatic conversion for its underlying scalar result (returning `false` when nothing is found), regardless of the global `ConversionType` setting, since a missing row is a valid outcome rather than a conversion failure. Failed type conversions (e.g. an incompatible value passed to `Convert.ChangeType`) also now surface as an `InvalidCastException` with a descriptive message instead of the underlying runtime exception. This impacts the following `DbConnection` extension operations (sync and async overloads alike):
30+
- Reworked the automatic conversion logic in [Converter](/class/converter)`.ToType<T>()`. A `null` or `DBNull` scalar result now raises a clearer `InvalidCastException` naming both the offending value and the target type, unless `GlobalConfiguration.Options.ConversionType` is set to `Automatic`, the target is a reference/by-ref type, or the target is `System.Object` - in those cases the type's `default` value is returned instead. The [Exists](/operation/exists) operation now always forces the automatic conversion for its underlying scalar result (returning `false` when nothing is found), regardless of the global `ConversionType` setting, since a missing row is a valid outcome rather than a conversion failure. Failed type conversions (e.g. an incompatible value passed to `Convert.ChangeType`) also now surface as an `InvalidCastException` with a descriptive message instead of the underlying runtime exception. This impacts the following `DbConnection` extension operations (sync and async overloads alike):
3231
- [ExecuteScalar](/operation/executescalar) / `ExecuteScalarAsync`
3332
- [Average](/operation/average) / `AverageAsync`
3433
- [AverageAll](/operation/averageall) / `AverageAllAsync`
@@ -41,6 +40,7 @@ Breaking
4140
- [MinAll](/operation/minall) / `MinAllAsync`
4241
- [Sum](/operation/sum) / `SumAsync`
4342
- [SumAll](/operation/sumall) / `SumAllAsync`
43+
- Made the `where` argument required (removed its default `null` value) on the `Average`, `BatchQuery`, `Count`, `Max`, `Min`, `SkipQuery` and `Sum` operations, across the `BaseRepository`, `DbRepository` and `DbConnection` objects and extensions. [#1266](https://github.com/mikependon/RepoDB/issues/1266)
4444

4545
Enhancements
4646
{: .label .label-blue }

0 commit comments

Comments
 (0)