dotnet/EntityFramework.Docs

Document other "raw" database access APIs besides FromSql

Open

#665 opened on Mar 26, 2018

View on GitHub
 (4 comments) (2 reactions) (1 assignee)PowerShell (1,625 stars) (1,961 forks)batch import
area-query-rawconsider-for-next-releasegood first issueundocumented-feature

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

Document other "raw" database access APIs besides FromSql · dotnet/EntityFramework.Docs#665 | Good First Issue