dotnet/EntityFramework.Docs

Document other "raw" database access APIs besides FromSql

Offen

#665 geöffnet am 26.03.2018

 (4 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)PowerShell (1.961 Forks)batch import
area-query-rawconsider-for-next-releasegood first issueundocumented-feature

Repository-Metriken

Stars
 (1.625 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 6h) (30 gemergte PRs in 30 T)

Beschreibung

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