I am using ASP.NET MVC 4.5 and EF. I import the stored procedures into my ADO.NET Entity Data Model. I have my .edmx and XX.tt with my StoredProcedure_Result.cs.
I use
var result = dbcontext.SP(Param).AsEnumerable().First();
My problem is that those stored procedures that have
select count(id) as Count from table
doesn't appear in my SP_Result.cs
Any ideas?