When working with stored procedures in linq, I can go to my SP and select what type of entity it should be returning. This works fine in most cases, except the time's I'm not sure of what will be returned. If I don't select what type of entity to return i get the standard
return ISingleResult<SP-Name>
I thought I would be able to work with this return type like this:
List<SP-Name> myResult = context.SP-Name("London");
But this gives me an error offcourse, about implicit converting ISingleResult to List.
How should I do to be able to work with this <SP-Name>
returntype?