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
We currently have cmd.ExecuteSingleRow() which is very useful. At least if you are expecting there to be a result, or don't mind adding a try-catch just to be sure there isn't no results.
I suggest a simple cmd.ExecuteSingleRowOrDefault(). Simply return null if no results were found.
The text was updated successfully, but these errors were encountered:
We currently have
cmd.ExecuteSingleRow()
which is very useful. At least if you are expecting there to be a result, or don't mind adding a try-catch just to be sure there isn't no results.I suggest a simple
cmd.ExecuteSingleRowOrDefault()
. Simply return null if no results were found.The text was updated successfully, but these errors were encountered: