NHibernate 3.0 版本中是否有更好的 SybaseDialect 实现?
我们已经使用 Fluent-NHibernate 升级到 NHibernate 3.0。
在版本 2.1.2 中,我们可以使用 SybaseDialect for ASE 12。在版本 3.0 中,不支持 SybaseDialect for ASE 12。
我重用了 Nhib 2.1.2 中的旧方言,一切正常。
我想问的是,既然这个被删除了,因为它被认为不是一个好的实现,有没有更好的实现?
由于它正在工作,我不确定需要进行哪些改进,但我想我会问。
We have upgraded to NHibernate 3.0 with Fluent-NHibernate.
In version 2.1.2 we where able to use the SybaseDialect for ASE 12. In version 3.0 SybaseDialect for ASE 12 is not supported.
I reused the old Dialect from Nhib 2.1.2 and all is working.
What I wanted to ask since this one was removed as it was considered not a good implementation, is there a better one out there?
Since it's working I am not sure what improvements need be made but I thought I would ask.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此博客文章有独家新闻。尚未尝试升级,因此无法评论版本 2.1.2 Sybase 方言与 NHibernate 3.0 的性能是否与与 NHibernate 2.1.2 版本一起使用时的性能不同。
This blog post has the scoop. Haven't tried upgrading so can't comment if the version 2.1.2 Sybase dialect with NHibernate 3.0 will perform any differently than using it with the NHibernate 2.1.2 version.
我从 NHibernate v2.1.2 中获取了 Dialect 类,并创建了一个
SybaseDialect.cs
,然后在配置文件中引用它,这似乎工作正常。I took the Dialect class from NHibernate v2.1.2 and created a
SybaseDialect.cs
and then in the Config file I reference it, this seems to work fine.