【发布时间】:2015-06-22 15:17:49
【问题描述】:
2015-06-22 11:23:01,427 [QuartzScheduler_Worker-1] INFO NHibernate.Cfg.Environment..cctor(:0) - NHibernate 4.0.0.GA (assembly 4.0.0.4000)
2015-06-22 11:23:01,458 [QuartzScheduler_Worker-1] INFO NHibernate.Cfg.Environment.LoadGlobalPropertiesFromAppConfig(:0) - hibernate-configuration se
ction not found in application configuration file
2015-06-22 11:23:01,474 [QuartzScheduler_Worker-1] INFO NHibernate.Cfg.Environment.BuildBytecodeProvider(:0) - Bytecode provider name : lcg
2015-06-22 11:23:01,474 [QuartzScheduler_Worker-1] INFO NHibernate.Cfg.Environment.get_Properties(:0) - Using reflection optimizer
Control+C detected, attempting to stop service.
我正在使用 Fluent 配置 Nhibernate
// Returns our database configuration
private static MsSqlConfiguration DbConfig()
{
return MsSqlConfiguration
.MsSql2008
.Dialect<MsSql2008Dialect>()
.ShowSql()
.DefaultSchema("dbo")
.ConnectionString(DBUtil.DBConnString);
}
所有 dll 和配置文件都放在同一个文件夹中,有一个使用 Nhibernate 的作业
【问题讨论】:
标签: c# nhibernate fluent-nhibernate quartz.net