Ticket Hash: | d5d4fc48d7ef218ec6dadb7691020b6db004dbe2 | |||
Title: | Able to have named InMemory database | |||
Status: | Closed | Type: | Incident | |
Severity: | Important | Priority: | Medium | |
Subsystem: | Connection | Resolution: | Not_A_Bug | |
Last Modified: | 2019-12-08 19:08:40 | |||
Version Found In: | 1.0.109.2 | |||
User Comments: | ||||
anonymous added on 2019-10-24 23:13:47:
It would be great to be able to specify a connection string that allowed for a named inmemory database; as per the documentation https://www.sqlite.org/inmemorydb.html. file:memdb1?mode=memory&cache=shared Currently if you try and specify a name it ignores the "memory" mode and goes and opens and creates a db on disc. mistachkin added on 2019-10-25 01:05:43: Have you tried using the FullUri connection string property? Example: SQLiteConnection connection = new SQLiteConnection(); connection.ConnectionString = "FullUri=file:memdb1?mode=memory&cache=shared;"; connection.Open(); |