开发者

how to prevent NHibernate running an "Audit Login" on configuration

When i configure NHibernate it seems to do an

Audit Login
-- network protocol: LPC
set quoted_identifier on
set arithabort off
set numeric_roundabort off
set ansi_warnings on
set ansi_padding on
set ansi_nulls on
set concat_null_yields_null on
set cursor_close_on_commit off
set implicit_tran开发者_运维知识库sactions off
set language British
set dateformat dmy
set datefirst 1
set transaction isolation level read committed

presumably to check that the supplied connectionstring is valid.

Is there a way to turn this behaviour off?

I'm running some unit tests to check that my application bootstraps without error, but this behaviour is requiring me to have a real database.

All my integration tests use SQLite, so this isnt a problem in that situation.

Thanks

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜