Combining SQLite Connections with Fluent NHibernate

Is there a way to configure a SQLite connection to be joined using the Fluent NHibernate configuration?

eg. equivalent DataSource=:memory::

var sessionFactory = Fluently
     .Configure()
     .Database(SQLiteConfiguration.Standard.InMemory)
     (etc.)

Is there something equivalent "Pooling=True;Max Pool Size=1;"?

+3
source share
1 answer

You still need to specify the connection string when using Fluent NHibernate (or NHibernate if you aren’t aware) in the NHibernate configuration so that you can simply enable pooling in the string, as if you were using ADO.NET.

+3
source

Source: https://habr.com/ru/post/1743624/


All Articles