You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have database where the values are saved as varchar(xx) and like to convert those to values based on UnitsNet.
The problem is, that sometimes the fields are empty in the database. Is it possible to make converters which returns nullable values like "Speed?" ? Later it would be easy to make a query and check the HasValue property and skip the empty rows.
Now my software crashes because the conversions fail.
BR, Ilkka
The text was updated successfully, but these errors were encountered:
Hi,
I have database where the values are saved as varchar(xx) and like to convert those to values based on UnitsNet.
The problem is, that sometimes the fields are empty in the database. Is it possible to make converters which returns nullable values like "Speed?" ? Later it would be easy to make a query and check the HasValue property and skip the empty rows.
Now my software crashes because the conversions fail.
BR, Ilkka
The text was updated successfully, but these errors were encountered: