Closed korifeich closed 6 years ago
I've tried to pass null value as a value of the Stored Procedure parameter: spBuild.AddParam(param.Name, (long?)null);
spBuild.AddParam(param.Name, (long?)null);
As a result this parameter is not passed into the Stored Procedure. This issue was reproduced with SQLServer.
Thanks. I was aware of this problem but I didn't find a good solution.
I didn't know T was comparable to null.
I've tried to pass null value as a value of the Stored Procedure parameter:
spBuild.AddParam(param.Name, (long?)null);
As a result this parameter is not passed into the Stored Procedure. This issue was reproduced with SQLServer.