Closed idubnori closed 6 years ago
We do not have plans to support in-memory database. Think about linq2db usage as stored procedure execution. Main linq2db goal is to generate complex SQL and run query effectively as posssible. In-memeory database is just mock for unit testing and supports almost nothing from SQL world.
Got it. Thank you. To throw NotSupportedException
, needs to fix in linq2db side?
Yes, not closing this issue to track that we have to add such exception. Thanks.
This means a special EF core in memory mode? Sqlite inmemory is supported?
@jogibear9988 Yes. Sqlite with in-memory looks good to me. (Just checked DeleteAsync
only)
@idubnori, we are not EF users, so any feedback is valuable.
Added more informative message instead of InvalidCastException
in cf1bbf4e476e43067cd3723b221f301eb79ff258
Throw exception, if use
UseInMemoryDatabase
inMicrosoft.EntityFrameworkCore.InMemory
.