Closed Giorgi closed 7 months ago
FYI you should probably get an InvalidCastException if the conversion is not supported. See https://learn.microsoft.com/en-us/dotnet/api/system.data.common.dbdatareader.getint64?view=netcore-3.1#system-data-common-dbdatareader-getint64(system-int32)
GetFieldValue<T>
should support this scenario too.
This is now implemented in develop.
This is now live on NuGet
Based on #142