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
The HasDefaultValue implementation is not working correctly on .NET Core.
The DBNull.Value check will in fact return true when it in fact does not have a default value.
By flipping it from != to == - I got the right result, but not sure of the implications of that.
Equally, the ParameterInfo coming in does in fact have a property called HasDefaultValue - wouldn't it be better to use this instead? Or is there something that escapes me?
The text was updated successfully, but these errors were encountered:
The HasDefaultValue implementation is not working correctly on .NET Core.
The DBNull.Value check will in fact return true when it in fact does not have a default value.
By flipping it from != to == - I got the right result, but not sure of the implications of that.
Equally, the ParameterInfo coming in does in fact have a property called HasDefaultValue - wouldn't it be better to use this instead? Or is there something that escapes me?
The text was updated successfully, but these errors were encountered: