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

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

问题描述

您知道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中是否可以使用城堡,林夫和春天的字节码提供程序?

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贡献,也可以是城堡贡献项目.

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.

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

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