如何将 Castle ActiveRecord 实体与普通 NHibernate 实体结合起来?

发布于 2024-09-04 19:37:33 字数 272 浏览 1 评论 0原文

我正在尝试集成使用 ActiveRecord 定义的实体和使用普通旧 .hbm 文件映射的实体。

我需要两者之间存在关联,即:

ActiveRecordEntity.HbmEntity

&

HbmEntity.ActiveRecordEntity

我遇到的唯一看起来完全相关的东西是 ActiveRecordMediator,但它看起来并不完全支持这种情况。

I am trying to integrate entities defined with ActiveRecord and entities mapped with plain-old .hbm files.

I need to have associations between the two, i.e.:

ActiveRecordEntity.HbmEntity

&

HbmEntity.ActiveRecordEntity

The only thing I've bumped into that seems at all related is the ActiveRecordMediator but it didn't look like it would support this case exactly.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

━╋う一瞬間旳綻放 2024-09-11 19:37:33

这还没有实现(还!)。有关更多信息,请参阅此问题,情况相同。

This isn't implemented (yet!). See this question for more information, it's the same case.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文