ActiveRecordIntegration 支持 IStatelessSession
AR Integration似乎不支持打开StatelessSession,从查看: http://github.com /castleproject/Castle.Facilities.ActiveRecordIntegration/blob/master/src/Castle.Facilities.ActiveRecordIntegration/SessionFactoryDelegate.cs
查看第 62 行,如果不调用 OpenSession 它将抛出异常。 我想调用 OpenStatelessSession 来初始化 IStatelessSession。
我看到有些人在谈论 StatelessSessionScope,但我没有找到将其与 AR 集成结合使用的好例子......
it seems that AR Integration doesn't support to open StatelessSession, from looking at:
http://github.com/castleproject/Castle.Facilities.ActiveRecordIntegration/blob/master/src/Castle.Facilities.ActiveRecordIntegration/SessionFactoryDelegate.cs
looking at line 62, if you don't call OpenSession it will throw exception.
I would like to call OpenStatelessSession to initialize IStatelessSession.
I saw that some people are talking about StatelessSessionScope but I didn't manage to find good examples for using it with AR Integration...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,目前尚未实施/支持。请在问题跟踪器中提出问题,如果可能的话,也分叉并实现它:-)
To the best of my knowledge, it's not currently implemented/supported. Please file an issue in the issue tracker and if possible also fork and implement it :-)