阅读背景:

为什么我可以在Entity Framework数据模型中看到存储的proc和标量函数,而不是我的控制器?

来源:互联网 

I created a new project in my MVC 3 solution with a database-first Entity Framework model mapped to a SQL Server 2008 database. I included all tables, views, stored procs, etc in the model. I can see the scalar function I want to use when viewing the data model, but when I try to use a proc or function name as an object in my controller, Intellisense doesn't see it and the application errors out. Is there something else I need to be doing to use stored procedures and functions in my controller?I created a new project in my MVC 3 solution wi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: