dotnet/EntityFramework.Docs

Document other "raw" database access APIs besides FromSql

Open

#665 opened on 2018年3月26日

GitHub で見る
 (4 comments) (2 reactions) (0 assignees)PowerShell (1,961 forks)batch import
area-query-rawconsider-for-next-releasegood first issueundocumented-feature

Repository metrics

Stars
 (1,625 stars)
PR merge metrics
 (平均マージ 1d 6h) (30d で 30 merged PRs)

説明

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

コントリビューターガイド