EDMIService: Allow empty return values for GetScalarValue
This commit is contained in:
parent
a29f058d58
commit
cbb343bb17
@ -40,9 +40,10 @@ Namespace Methods.Database.GetScalarValue
|
|||||||
|
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
If oResult Is Nothing Then
|
' Remove this in the future, empty return values for scalar should be allowed
|
||||||
LogAndThrow($"SQL Command did not return any results: [{pData.SqlCommand}]!")
|
'If oResult Is Nothing Then
|
||||||
End If
|
' LogAndThrow($"SQL Command did not return any results: [{pData.SqlCommand}]!")
|
||||||
|
'End If
|
||||||
|
|
||||||
Return New GetScalarValueResponse(oResult)
|
Return New GetScalarValueResponse(oResult)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user