I have a SQL Server 2008 stored procedure which does a select count(*) ... I have a LINQ function called GetCount() based on that SP.
When I do something like: int? count = datacontext.GetCount().Single().Column1;
count is null. The SP never returns null.
Why is count null?