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
|
||||
|
||||
If oResult Is Nothing Then
|
||||
LogAndThrow($"SQL Command did not return any results: [{pData.SqlCommand}]!")
|
||||
End If
|
||||
' Remove this in the future, empty return values for scalar should be allowed
|
||||
'If oResult Is Nothing Then
|
||||
' LogAndThrow($"SQL Command did not return any results: [{pData.SqlCommand}]!")
|
||||
'End If
|
||||
|
||||
Return New GetScalarValueResponse(oResult)
|
||||
Catch ex As Exception
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user