dotnet / dotnet/EntityFramework.Docs
Document other "raw" database access APIs besides FromSql
Open
area-query-raw
consider-for-next-release
good first issue
undocumented-feature
- Dominant language
- Mermaid
- Stars
- 1.7k
- Forks
- 2k
- Avg merge
- 7d 23h
- Merged PRs (30d)
- 16
Description
We should add more information about ExecuteSqlCommand and GetDbConnection, including how to manage the open/close state (e.g. with context.Database.OpenConnection and context.Database.CloseConnection vs. connection.Open and connection.Close) and lifetime of the connection returned with the latter (see https://github.com/aspnet/EntityFrameworkCore/issues/11415).
Contributor guide
Assessment
This issue has not been assessed yet.