Mapping select stored procedures in entity framework

后端 未结 2 624
失恋的感觉
失恋的感觉 2021-02-09 23:21

My scenario I\'m using Visual Studio 2010 with Entity Framework 4.1 I have a legacy database with many tables and many stored procedures. I\'m writing an ASP.NET C# program usin

2条回答
  •  眼角桃花
    2021-02-09 23:59

    It is not possible. You can import your stored procedures as function imports and manually execute them but you cannot replace queries generated by EF with custom stored procedures.

提交回复
热议问题