Is there a way to map a stored proc in entity framework 4 that returns a guid scalar? All I see is to have it return a collection or an int scalar.
My stored proc ends with a
开发者_运维技巧select @id
where @id is the Guid I want back in code.
No - function imports in EF4 always return collections that implement IEnumerable. You can have it return a collection of guid scalars - but in your case, it would just be a collection with one object. Does that work for you?
Brian
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论