DateOnly StoredProcedure bug

If the StoredProcedure has input variables of type DateOnly they aren't correctly encapsulated in the autogenerated code when the procedure is called. The generated sql looks like:
Declare @InputDate Date = 1/1/2023 instead of
Declare @InputDate Date = '1/1/2023'

And it wont run.

Comments