I’m trying to call a stored procedure with an output parameter from F#, so I need to pass an int? value initialized to null. However, F# is resisting my attempts, saying that the object cannot be null. I’ve read up on the web as to why that is but my problem remains – I need to call that stored procedure. Has anyone got any ideas as to how I can do it? Thanks.
I’m trying to call a stored procedure with an output parameter from F#, so
Share
I do not believe that F# has a conversion from null -> empty Nullable. But if you instantiate a Nullable object, it will default to no value. This is the equivalent of passing null in C#/VB.