NHibernate 3.2.GA 的城堡字节码提供程序会在 nuget 中提供吗? [英] Will castle bytecode provider for NHibernate 3.2.GA be available in nuget?

查看:18
本文介绍了NHibernate 3.2.GA 的城堡字节码提供程序会在 nuget 中提供吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如您所知,NHibernate 3.2 有原生字节码提供程序,它与城堡字节码提供程序有一些重大变化.

As you know NHibernate 3.2 has native bytecode provider, which has some breaking changes with castle bytecode provider.

例如:

public class SomeEntity 
{
    public virtual string SomeProperty { get; **private set;**} 
}

与 NHibernate 3.1 和 Castle Bytecode 提供程序一起工作正常.而不是在 NH 3.2 中.

Is working fine with NHibernate 3.1 and Castle Bytecode provider. And not in NH 3.2.

我正在使用 nuget 来管理我的依赖项,并且不想手动管理它们.所以我的问题是:nuget 中是否可以使用 Castle、linfu 和 spring 的字节码提供程序?

I'm using nuget for managing my dependencies and do not want to manage them by hands. So my question is: would bytecode providers for castle, linfu and spring be available in nuget?

推荐答案

NHibernate 团队 赢了'不再支持那些字节码提供者.

The NHibernate team won't support those bytecode providers any more.

尚未正式投票,但我不认为 城堡团队也会支持它.

It hasn't been officially voted, but I don't think the Castle team will support it either.

幸运的是,这都是开源的,因此您可以继续获取代码并对其进行维护并将其放在 NuGet 上.它可以是 NHibernate contribCastle contrib 项目.

Fortunately, this is all open source, so you can just go ahead and grab the code and maintain it and put it on NuGet. It could be either a NHibernate contrib or a Castle contrib project.

不过,如果这曾经有效并且不再有效(并且没有记录更改,请确保它不是),它可能是一个回归错误,所以它应该是 已报告(确保尚未报告)并已修复.

Still, if this used to work and doesn't anymore (and the change isn't documented, make sure it isn't), it could be a regression bug, and so it should be reported (make sure it hasn't been reported already) and fixed.

这篇关于NHibernate 3.2.GA 的城堡字节码提供程序会在 nuget 中提供吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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