Hi There,
I am using NHibernate with SQL CE 3.5, and Castle ActiveRecord.
Whenever I execute a query on the database, I keep seeing the following lines in the debug output log of my application:
'DB.exe': Loaded 'C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\sqlceer35EN.dll' 'DB.exe': Loaded 'C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\sqlcese35.dll' 'DB.exe': Loaded 'C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\sqlceqp35.dll' 'DB.exe': Unloaded 'C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\sqlcese35.dll' 'DB.exe': Unloaded 'C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\sqlceqp35.dll' 'DB.exe': Unloaded 'C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\sqlceer35EN.dll'
I have an automated process that pushes data into the database, causing a large number of queries to be executed... And it appears that for each insert/update the SQL CE module is loaded and unloaded.
Does anyone have any idea how I could force the SQL CE module to remain loaded for the duration of my entire app?
Thanks
Josh
|