I have an SQL Server stored procedure that ressembles this:
CREATE PROCEDURE [jp].[GetFoo]
@Guid UNIQUEIDENTIFIER
AS
SELECT
CONVERT(BIT, (CASE WHEN
You have to ways to fix this issue
1- alter procedure to be isnull ("your expression", 0) then update your model from database and refresh .
2- you can open the class model and change it manually but any update on the model again , you will lost the change .
So my opinion is the first solution is the best.