I have an SQL Server stored procedure that ressembles this:
CREATE PROCEDURE [jp].[GetFoo]
@Guid UNIQUEIDENTIFIER
AS
SELECT
CONVERT(BIT, (CASE WHEN
Make this modification: isnull([dbo].[GetBar](T.Col2), 0)
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.
You can create complex type and then modify the Nullable property of the generated field. Can be useful if you don't want to change your sp.
step by step:
Alternatively you can open edmx as xml and find the same property.
<ComplexType Name="...">
<Property Type="Int32" Name="..." Nullable="true" />
ps: I tested it in VS2012, EF 5