dotnet/EntityFramework.Docs

Document other "raw" database access APIs besides FromSql

Ouverte

#665 ouverte le 26 mars 2018

 (4 commentaires) (2 réactions) (0 personne assignée)PowerShell (1 961 forks)batch import
area-query-rawconsider-for-next-releasegood first issueundocumented-feature

Métriques du dépôt

Stars
 (1 625 étoiles)
Métriques de merge PR
 (Merge moyen 1j 6h) (30 PRs mergées en 30 j)

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

Guide contributeur