开发者

how to use Store procedure under Entity Framework 3.5

I had imported SP functions with EF model successfully,bu开发者_运维百科t couldn't find c# function into context. weird! Anyone had some issue?


Function import not worked for me neither. You may write your execute method or best solution might be (if not neccessary) convert it to Entity Framework 4 and your method will be there for you.


Importing stored procedure through wizard is not enough. You must open model browser and add function import for that stored procedure.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜