开发者

Is there a better implementation for SybaseDialect in Version 3.0 of NHibernate?

开发者 https://www.devze.com 2023-02-06 10:52 出处:网络
We have upgraded to NHibernate 3.0 开发者_Python百科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 supporte

We have upgraded to NHibernate 3.0 开发者_Python百科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.


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号