dotnet/EntityFramework.Docs

Document other "raw" database access APIs besides FromSql

Open

#665 aperta il 26 mar 2018

Vedi su GitHub
 (4 commenti) (2 reazioni) (0 assegnatari)PowerShell (1961 fork)batch import
area-query-rawconsider-for-next-releasegood first issueundocumented-feature

Metriche repository

Star
 (1625 star)
Metriche merge PR
 (Merge medio 1g 6h) (30 PR mergiate in 30 g)

Descrizione

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).

Guida contributor