tags:

views:

54

answers:

1

I am using NHibernate with a legacy rdbms rule engine. I am using GenericDialect but some of the sql generated are not working. If I need to write custom Dialect for this rule engine how do start?

+1  A: 

I would start by grabbing the nhibernate source, the 2.1.x branch is here. The existing Dialects are all under src/NHibernate/Dialect.

Copy one and start hacking. The base class Dialect has many extension points.

Lachlan Roche