gpt4 book ai didi

visual-studio-2010 - 为什么当我想使用 EF Power 工具查看我的模型时出现错误?

转载 作者:行者123 更新时间:2023-12-03 16:19:24 25 4
gpt4 key购买 nike

我首先使用 EF 代码,然后通过 vs2010 中的“EF 4.x DbContext Fluent Generator for c#”扩展生成我的模型。但是当我想通过 EF Power 工具查看我的实体模型时,出现此错误:“序列不包含匹配元素”。有什么想法吗?

最佳答案

有点太晚了,不确定这是否有帮助,但出于其他原因和历史原因...

I had the same issue (with Beta 3 - and .NET 4/2010/EF5 etc.) - the solution was relatively simple.
I just moved out the project from the 'solution directory' into the root of the solution.

我从处理“迁移”和 PM 控制台中“学到”了这个技巧——如果你有一个库(实体)和你的启动/可执行文件,它就不会工作——而两者中的任何一个都在某个地方的解决方案目录中.

关于visual-studio-2010 - 为什么当我想使用 EF Power 工具查看我的模型时出现错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14586061/

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