Hi I need to prevent NHibernate to call the database on
configuration.BuildSessionFactory()
Cause I don't know the connectionstring when building the
SessionFactory.
I have locted where it calls the database when building and it is in
the SessionFactory's constructor.
if (settings.IsKeywordsImportEnabled)
{
SchemaMetadataUpdater.Update(this);
}
if (settings.IsAutoQuoteEnabled)
{
SchemaMetadataUpdater.QuoteTableAndColumns(cfg);
}
What is the drawbacks to disable IsKeywordsImportEnabled and
IsAutoQuoteEnabled ?
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.