you should just need to change the dialect and the driver.  Use
intellisense so see what's available to you.  Dialects are in the namespace
NHibernate.Dialects and drivers are in NHibernate.Driver


On Wed, Oct 9, 2013 at 8:53 AM, Rodrigo Stan <[email protected]> wrote:

> Hi, any have a example with other database? postgress/mysql ?
> I have a example in sql server
>
>
>         private static Configuration ConfigureNHibernate()
>        {
>            var configure = new Configuration();
>            configure.SessionFactoryName("BuildIt");
>
>             configure.DataBaseIntegration(db =>
>            {
>                db.Dialect<MsSql2008Dialect>();
>                db.Driver<SqlClientDriver>();
>                db.KeywordsAutoImport = Hbm2DDLKeyWords.AutoQuote;
>                db.IsolationLevel = IsolationLevel.ReadCommitted;
>                db.ConnectionString = "<<Connection String HERE>>";
>                db.Timeout = 10;
>
>                 // enabled for testing
>                db.LogFormatedSql = true;
>                db.LogSqlInConsole = true;
>                db.AutoCommentSql = true;
>            });
>
>             return configure;
>        }
>
>
> exist documentation for nhibernate loquacious API ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/nhusers.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to