Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifically mention no raw SQL for InMemory #2402

Merged
merged 1 commit into from
May 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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