Is there a way to setup SQLite connection pooling using Fluent NHibernate configuration?
Eg equivalent of DataSource=:memory:
would be:
var sessionFactory = Fluently
.Configure()
.Database(SQLiteConfiguration.Standard.InMemory)
(etc.)
Is there something eqivalent to "Pooling=True;Max Pool Size=1;"
?
在NHibernate配置中使用Fluent NHibernate(或者NHibernate没有流畅的)时,您仍然需要指定一个连接字符串,这样您就可以像使用ADO.NET一样在连接字符串中启用连接池。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.