Skip to content

Commit

Permalink
Specifically mention no raw SQL for InMemory
Browse files Browse the repository at this point in the history
Closes #2400
  • Loading branch information
roji committed May 22, 2020
1 parent c0d23b5 commit 8706bbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entity-framework/core/miscellaneous/testing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ See [Testing with SQLite](xref:core/miscellaneous/testing/sqlite) for EF Core sp

EF Core comes with an in-memory database that we use for internal testing of EF Core itself.
This database is in general **not suitable as a substitute for testing applications that use EF Core**. Specifically:

* It is not a relational database.
* It doesn't support transactions.
* It cannot run raw SQL queries.
* It is not optimized for performance.

None of this is very important when testing EF Core internals because we use it specifically where the database is irrelevant to the test.
Expand Down

0 comments on commit 8706bbc

Please sign in to comment.