NHibernate的Interbase方言 [英] NHibernate dialect for Interbase
问题描述
我在Interbase服务器上做了很多工作.我想使用NHibernate为它开发一个数据访问层,但是Interbase还没有现成的方言.
I do a good deal of work with an Interbase server. I would like to develop a data access layer for it using NHibernate but there isn't a readymade dialact for Interbase.
有人知道吗,是否有NHibernate方言可用于通用的仅ANSI数据库工作,或者是否有任何现有的方言都可以与Interbase一起使用?
Does anyone know, is there an NHibernate dialect which is used for generic ANSI-only database work, or if any of the existing dialects will work okay with Interbase?
或者,另一方面,创建新的方言需要做哪些工作?
Or on the other hand, what kind of work is required to create a new dialect?
感谢您提供的任何建议.
Thanks for any advice you can provide.
大卫
推荐答案
您可以尝试使用GenericDialect
.
无论如何,我建议您在 https://github.com/nhibernate/nhibernate-core/tree/master/src/NHibernate/Dialect 并为Interbase编写一个,然后可以与社区共享.不难.
In any case, I suggest you take a look at the existing dialects at https://github.com/nhibernate/nhibernate-core/tree/master/src/NHibernate/Dialect and write one for Interbase, that you can then share with the community. It's not hard.
这篇关于NHibernate的Interbase方言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!