dotnet/EntityFramework.Docs

Document other "raw" database access APIs besides FromSql

Aberta

#665 aberto em 26 de mar. de 2018

 (4 comentários) (2 reações) (0 responsável)PowerShell (1.961 forks)batch import
area-query-rawconsider-for-next-releasegood first issueundocumented-feature

Métricas do repositório

Stars
 (1.625 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 6h) (30 fundiu PRs em 30d)

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

Guia do colaborador