{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/comments/232153612","pull_request_review_id":173287721,"id":232153612,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjE1MzYxMg==","diff_hunk":"@@ -13,12 +13,12 @@ ms.locfileid: \"42993560\"\n ---\n # <a name=\"asynchronous-queries\"></a>异步查询\n \n-当在数据库中执行查询时，异步查询可避免阻塞线程。 这有助于避免冻结胖客户端应用程序的 UI。 异步操作还可以增加 Web 应用程序的吞吐量，可以释放线程以在数据库操作完成前去处理其他请求。 有关详细信息，请参阅[使用 C# 异步编程](https://docs.microsoft.com/dotnet/csharp/async)。\n+当在数据库中执行查询时，异步查询可避免阻止线程。这有助于避免冻结胖客户端应用程序的 UI。异步操作还可以增加 Web 应用程序的吞吐量，可以释放线程以在数据库操作完成前去处理其他请求。有关详细信息，请参阅[使用 C# 异步编程](https://docs.microsoft.com/dotnet/csharp/async)。","path":"entity-framework/core/querying/async.md","position":5,"original_position":5,"commit_id":"c1725a679320f6a2ce8f26064a734ca0a0fb5333","original_commit_id":"992683b67866580fd236c5be53e7c2be6a1a3177","user":{"login":"personball","id":6694487,"node_id":"MDQ6VXNlcjY2OTQ0ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/6694487?v=4","gravatar_id":"","url":"https://api.github.com/users/personball","html_url":"https://github.com/personball","followers_url":"https://api.github.com/users/personball/followers","following_url":"https://api.github.com/users/personball/following{/other_user}","gists_url":"https://api.github.com/users/personball/gists{/gist_id}","starred_url":"https://api.github.com/users/personball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/personball/subscriptions","organizations_url":"https://api.github.com/users/personball/orgs","repos_url":"https://api.github.com/users/personball/repos","events_url":"https://api.github.com/users/personball/events{/privacy}","received_events_url":"https://api.github.com/users/personball/received_events","type":"User","site_admin":false},"body":"@LisandroSu  see https://www.microsoft.com/en-us/language/Search?&searchTerm=blocking&langID=Chinese%20Simp.&Source=true&productid=All%20Products \r\n![_20181109143621](https://user-images.githubusercontent.com/6694487/48247063-e109a600-e42c-11e8-8dcf-33379d13e7fd.png)\r\n","created_at":"2018-11-09T06:36:52Z","updated_at":"2018-11-09T06:36:52Z","html_url":"https://github.com/aspnet/EntityFramework.Docs.zh-cn/pull/21#discussion_r232153612","pull_request_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/21","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/comments/232153612"},"html":{"href":"https://github.com/aspnet/EntityFramework.Docs.zh-cn/pull/21#discussion_r232153612"},"pull_request":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/21"}},"in_reply_to_id":231834903},"pull_request":{"url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/21","id":228947681,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4OTQ3Njgx","html_url":"https://github.com/aspnet/EntityFramework.Docs.zh-cn/pull/21","diff_url":"https://github.com/aspnet/EntityFramework.Docs.zh-cn/pull/21.diff","patch_url":"https://github.com/aspnet/EntityFramework.Docs.zh-cn/pull/21.patch","issue_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/issues/21","number":21,"state":"open","locked":false,"title":"better smooth reading for docs of ef core querying","user":{"login":"personball","id":6694487,"node_id":"MDQ6VXNlcjY2OTQ0ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/6694487?v=4","gravatar_id":"","url":"https://api.github.com/users/personball","html_url":"https://github.com/personball","followers_url":"https://api.github.com/users/personball/followers","following_url":"https://api.github.com/users/personball/following{/other_user}","gists_url":"https://api.github.com/users/personball/gists{/gist_id}","starred_url":"https://api.github.com/users/personball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/personball/subscriptions","organizations_url":"https://api.github.com/users/personball/orgs","repos_url":"https://api.github.com/users/personball/repos","events_url":"https://api.github.com/users/personball/events{/privacy}","received_events_url":"https://api.github.com/users/personball/received_events","type":"User","site_admin":false},"body":"**Re-Translation** for docs of [ef core querying](https://docs.microsoft.com/zh-cn/ef/core/querying/).\r\nMake it better smooth for reading in **Simplified Chinese (zh-CN)** .\r\n\r\n","created_at":"2018-11-07T08:15:48Z","updated_at":"2018-11-09T06:36:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40850c9413c2eebc70e2859b09689cada5b3c525","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":824626689,"node_id":"MDU6TGFiZWw4MjQ2MjY2ODk=","url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/labels/In%20Progress","name":"In Progress","color":"fef2c0","default":false},{"id":824627048,"node_id":"MDU6TGFiZWw4MjQ2MjcwNDg=","url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/labels/Linguistic%20Suggestion","name":"Linguistic Suggestion","color":"b60205","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/21/commits","review_comments_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/21/comments","review_comment_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/issues/21/comments","statuses_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/statuses/c1725a679320f6a2ce8f26064a734ca0a0fb5333","head":{"label":"personball:live","ref":"live","sha":"c1725a679320f6a2ce8f26064a734ca0a0fb5333","user":{"login":"personball","id":6694487,"node_id":"MDQ6VXNlcjY2OTQ0ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/6694487?v=4","gravatar_id":"","url":"https://api.github.com/users/personball","html_url":"https://github.com/personball","followers_url":"https://api.github.com/users/personball/followers","following_url":"https://api.github.com/users/personball/following{/other_user}","gists_url":"https://api.github.com/users/personball/gists{/gist_id}","starred_url":"https://api.github.com/users/personball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/personball/subscriptions","organizations_url":"https://api.github.com/users/personball/orgs","repos_url":"https://api.github.com/users/personball/repos","events_url":"https://api.github.com/users/personball/events{/privacy}","received_events_url":"https://api.github.com/users/personball/received_events","type":"User","site_admin":false},"repo":{"id":155659168,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU2NTkxNjg=","name":"EntityFramework.Docs.zh-cn","full_name":"personball/EntityFramework.Docs.zh-cn","private":false,"owner":{"login":"personball","id":6694487,"node_id":"MDQ6VXNlcjY2OTQ0ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/6694487?v=4","gravatar_id":"","url":"https://api.github.com/users/personball","html_url":"https://github.com/personball","followers_url":"https://api.github.com/users/personball/followers","following_url":"https://api.github.com/users/personball/following{/other_user}","gists_url":"https://api.github.com/users/personball/gists{/gist_id}","starred_url":"https://api.github.com/users/personball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/personball/subscriptions","organizations_url":"https://api.github.com/users/personball/orgs","repos_url":"https://api.github.com/users/personball/repos","events_url":"https://api.github.com/users/personball/events{/privacy}","received_events_url":"https://api.github.com/users/personball/received_events","type":"User","site_admin":false},"html_url":"https://github.com/personball/EntityFramework.Docs.zh-cn","description":"Documentation for Entity Framework","fork":true,"url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn","forks_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/forks","keys_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/teams","hooks_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/hooks","issue_events_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/issues/events{/number}","events_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/events","assignees_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/assignees{/user}","branches_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/branches{/branch}","tags_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/tags","blobs_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/git/refs{/sha}","trees_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/statuses/{sha}","languages_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/languages","stargazers_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/stargazers","contributors_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/contributors","subscribers_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/subscribers","subscription_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/subscription","commits_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/commits{/sha}","git_commits_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/git/commits{/sha}","comments_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/comments{/number}","issue_comment_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/issues/comments{/number}","contents_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/contents/{+path}","compare_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/merges","archive_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/downloads","issues_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/issues{/number}","pulls_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/pulls{/number}","milestones_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/milestones{/number}","notifications_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/labels{/name}","releases_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/releases{/id}","deployments_url":"https://api.github.com/repos/personball/EntityFramework.Docs.zh-cn/deployments","created_at":"2018-11-01T03:50:55Z","updated_at":"2018-11-08T11:55:39Z","pushed_at":"2018-11-08T05:07:05Z","git_url":"git://github.com/personball/EntityFramework.Docs.zh-cn.git","ssh_url":"git@github.com:personball/EntityFramework.Docs.zh-cn.git","clone_url":"https://github.com/personball/EntityFramework.Docs.zh-cn.git","svn_url":"https://github.com/personball/EntityFramework.Docs.zh-cn","homepage":null,"size":3686,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":true,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"live"}},"base":{"label":"aspnet:live","ref":"live","sha":"29b849d78f3e604383e5f49bef4af0cc003c9457","user":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":108536505,"node_id":"MDEwOlJlcG9zaXRvcnkxMDg1MzY1MDU=","name":"EntityFramework.Docs.zh-cn","full_name":"aspnet/EntityFramework.Docs.zh-cn","private":false,"owner":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aspnet/EntityFramework.Docs.zh-cn","description":"Documentation for Entity Framework","fork":false,"url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn","forks_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/forks","keys_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/teams","hooks_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/hooks","issue_events_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/events","assignees_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/tags","blobs_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/languages","stargazers_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/stargazers","contributors_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/contributors","subscribers_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/subscribers","subscription_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/subscription","commits_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/merges","archive_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/downloads","issues_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/deployments","created_at":"2017-10-27T11:12:43Z","updated_at":"2018-11-06T08:55:41Z","pushed_at":"2018-11-07T20:17:40Z","git_url":"git://github.com/aspnet/EntityFramework.Docs.zh-cn.git","ssh_url":"git@github.com:aspnet/EntityFramework.Docs.zh-cn.git","clone_url":"https://github.com/aspnet/EntityFramework.Docs.zh-cn.git","svn_url":"https://github.com/aspnet/EntityFramework.Docs.zh-cn","homepage":null,"size":3689,"stargazers_count":16,"watchers_count":16,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21,"open_issues":2,"watchers":16,"default_branch":"live"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/21"},"html":{"href":"https://github.com/aspnet/EntityFramework.Docs.zh-cn/pull/21"},"issue":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/issues/21"},"comments":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/EntityFramework.Docs.zh-cn/statuses/c1725a679320f6a2ce8f26064a734ca0a0fb5333"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"personball"}}