使用ActiveRecord的城堡与功能NHibernate? [英] Using Castle ActiveRecord with Fluent NHibernate?

查看:178
本文介绍了使用ActiveRecord的城堡与功能NHibernate?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人能流利地NHibernate使用Castle ActiveRecord?

Has anyone gotten Fluent NHibernate to work with Castle ActiveRecord?

我特别感兴趣的是自动配置实体以使用ActiveRecordMediator存储库。

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

推荐答案

此组合目前无法使用。当在FluentNHibernate配置的实体上尝试使用 ActiveRecordMediator 时,您会收到一个 ActiveRecordException 抱怨您没有调用 ActiveRecordStarter.Initialize()或您未使用 [ActiveRecord] 属性。

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 ;-)

这篇关于使用ActiveRecord的城堡与功能NHibernate?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆