使用 Castle ActiveRecord 和 Fluent NHibernate?

发布于 2024-08-14 12:06:33 字数 114 浏览 1 评论 0原文

有人让 Fluent NHibernate 与 Castle ActiveRecord 一起使用吗?

我对自动映射来配置实体以与 ActiveRecordMediator 存储库一起使用特别感兴趣。

Has anyone gotten Fluent NHibernate to work with Castle ActiveRecord?

I am particularly interested in Automapping to configure entities for use with the ActiveRecordMediator repository.

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

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

发布评论

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

评论(2

沉鱼一梦 2024-08-21 12:06:33

这个组合还没有发挥作用。当尝试在 FluentNHibernate 配置的实体上使用 ActiveRecordMediator 时,您将收到 ActiveRecordException 抱怨您没有调用 ActiveRecordStarter.Initialize()或者您没有使用[ActiveRecord] 属性。

不过,此集成的工作正在进行
想帮忙吗?我邀请您加入 castle 开发小组 ;-)

This combo doesn't work yet. When trying to use ActiveRecordMediator on a FluentNHibernate-configured entity you'll get an ActiveRecordException complaining that you didn't call ActiveRecordStarter.Initialize() or you didn't use the [ActiveRecord] attribute.

However there is work being done on this integration.
Wanna help out? I invite you to the castle dev group ;-)

等你爱我 2024-08-21 12:06:33

由于 ActiveRecordMediator 可以与普通的 nhibernate 映射一起使用,因此它也应该与流畅的 nhibernate 一起使用。

Since ActiveRecordMediator can be used with normal nhibernate mapping it should also work with fluent nhibernate.

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