mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 支持 Sqlite :memory: 模式; #191
This commit is contained in:
@ -106,6 +106,12 @@ namespace FreeSql.Sqlite
|
||||
_connectionString = string.Concat(att[0], idx == -1 ? "" : att[1].Substring(idx));
|
||||
}
|
||||
|
||||
if (_connectionString.ToLower().Contains(":memory:"))
|
||||
{
|
||||
//内存模式
|
||||
PoolSize = 1;
|
||||
}
|
||||
|
||||
#if ns20
|
||||
minPoolSize = 1;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user