开发者

EDMX and stored procedures; I can't see a method to call my SPROC in the context

开发者 https://www.devze.com 2023-01-25 01:01 出处:网络
I added a SPROC to my EDMX using the update model option. I then did a function import and assigned it a null 开发者_运维知识库return type.

I added a SPROC to my EDMX using the update model option. I then did a function import and assigned it a null 开发者_运维知识库return type. The problem is when I try to call the SPROC from myContext.Current, there is no sign of it. Am I missing something?


Are you using EF v4? This was not possible in EF v1, see, for example, this question.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号