sofu6

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

除了code first和db first外,下面的直接调用比较方便:

https://dotnetthoughts.net/how-to-execute-a-stored-procedure-with-entity-framework-code-first/

解决,增加一个参数的灵活性

https://www.c-sharpcorner.com/blogs/execute-store-procedure-in-entity-framework

https://stackoverflow.com/questions/33914166/call-stored-procedure-using-executesqlcommand-expects-parameters-which-was-not

 

posted on 2020-02-07 12:23  sofu6  阅读(130)  评论(0编辑  收藏  举报