且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将Breeze与EF一起使用时出错

更新时间:2023-02-06 10:34:43

@shai-很遗憾您遇到的困惑,这似乎是BreezeJS客户端元数据定义API演变的结果。但是我不完全理解您的建议。

@shai - I regret the confusion you encountered which appears to be a consequence of the evolution of the BreezeJS client metadata definition API. But I do not fully understand your recommendation.

HotTowel模板和HT NuGet包确实依赖于BreezeJS NuGet包的较旧版本,该版本可能具有 addEntityType 此后已更改的code>方法(我没看过)。我将与John Papa合作更新HT的内容。

The HotTowel template and HT NuGet package(s) do depend upon an older version of the BreezeJS NuGet package which may have had an addEntityType method that has since changed (I haven't looked). I'll work with John Papa to get the HT stuff updated.

但是我不明白您要告诉别人做什么。如果您处于HT模板当时官方能力的范围之内,它们将按交付方式工作。 FWIW,客户端元数据定义当时处于beta版本,我们说过它的API可能会更改。这项工作仍在进行中。

But I don't understand what you're telling people to do. The HT templates work as delivered if you stay within the boundaries of their then-official-capabilities. FWIW, client-side metadata definition was in beta at the time and we said that its API was likely to change. It is still a work in progress.

将应用程序更新到最新版本的依赖程序包当然会有所改变。这就是为什么要升级的原因。

Updating an app to the latest versions of dependent packages will change some things of course. That is why one would upgrade.

您是说在更新最新的Breeze NuGet软件包后仍然存在问题吗?您是否指出最新的Breeze NuGet软件包(我写的是1.3.3)与GitHub中的最新源代码之间存在差异。那里总是存在一些差异-GitHub上的BreezeJS始终持有我们的最新想法...许多想法都将发生变化,并且其中的任何一个都不能用于开发。我建议人们s 勾选官方发布的版本

Are you saying that there is a continuing problem after you update to the latest Breeze NuGet packages? Are you pointing to some discrepancy between the latest Breeze NuGet packages (1.3.3 as I write) and the latest source in GitHub. There is always some discrepancy there - BreezeJS on GitHub always holds our latest ideas ... many of which will change and none of them approved for development use. I would advise people to stick with official releases.

您是在告诉人们不应该使用HotTowel吗?为什么?您遇到的问题不是主流功能(甚至不是HT的正式功能)。

Are you telling folks they shouldn't use HotTowel? Why? The problem you encountered is not in a mainstream feature (it's not even an official feature of HT).

OTOH,我理解并完全同意将所有与HT相关的软件包(包括Durandal和Toastr以及Breeze)升级到最新版本的建议。

OTOH, I both understand and fully agree with the recommendation to upgrade all HT dependent packages (including Durandal and Toastr as well as Breeze) to latest versions.

感谢我们陪在我们那里。

Thanks for hanging in there with us.