gpt4 book ai didi

entity-framework - Code First 调用存储过程返回多个结果

转载 作者:行者123 更新时间:2023-12-03 07:38:26 25 4
gpt4 key购买 nike

我在项目中使用 Code First。该项目已完成一半。我需要调用存储过程来返回多个结果(3 个选择)。我的研究告诉我,Code First 不支持它。我有什么选择?更改项目以首先使用模型?

最佳答案

MSFT 的 Roman 回答了我的问题。他在这里写了博客: http://romiller.com/2012/08/15/code-first-stored-procedures-with-multiple-results/

相信很多人都有同样的问题。希望这能有所帮助。

关于entity-framework - Code First 调用存储过程返回多个结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11961048/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com