{"action":"created","comment":{"url":"https://api.github.com/repos/OData/odata.net/pulls/comments/150156059","pull_request_review_id":75665433,"id":150156059,"diff_hunk":"@@ -4,6 +4,10 @@\n // </copyright>\r\n //---------------------------------------------------------------------\r\n \r\n+using System;\r\n+using System.Collections.Generic;\r\n+using System.Diagnostics;\r","path":"src/Microsoft.OData.Core/ODataDeltaDeletedEntry.cs","position":6,"original_position":6,"commit_id":"95a8043ae397c668619fe4153545c1a71c94ba21","original_commit_id":"95a8043ae397c668619fe4153545c1a71c94ba21","user":{"login":"biaol-odata","id":24885233,"avatar_url":"https://avatars2.githubusercontent.com/u/24885233?v=4","gravatar_id":"","url":"https://api.github.com/users/biaol-odata","html_url":"https://github.com/biaol-odata","followers_url":"https://api.github.com/users/biaol-odata/followers","following_url":"https://api.github.com/users/biaol-odata/following{/other_user}","gists_url":"https://api.github.com/users/biaol-odata/gists{/gist_id}","starred_url":"https://api.github.com/users/biaol-odata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biaol-odata/subscriptions","organizations_url":"https://api.github.com/users/biaol-odata/orgs","repos_url":"https://api.github.com/users/biaol-odata/repos","events_url":"https://api.github.com/users/biaol-odata/events{/privacy}","received_events_url":"https://api.github.com/users/biaol-odata/received_events","type":"User","site_admin":false},"body":"should we move these usings inside the namespace scope?","created_at":"2017-11-10T05:20:04Z","updated_at":"2017-11-10T05:20:04Z","html_url":"https://github.com/OData/odata.net/pull/989#discussion_r150156059","pull_request_url":"https://api.github.com/repos/OData/odata.net/pulls/989","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/OData/odata.net/pulls/comments/150156059"},"html":{"href":"https://github.com/OData/odata.net/pull/989#discussion_r150156059"},"pull_request":{"href":"https://api.github.com/repos/OData/odata.net/pulls/989"}}},"pull_request":{"url":"https://api.github.com/repos/OData/odata.net/pulls/989","id":150759443,"html_url":"https://github.com/OData/odata.net/pull/989","diff_url":"https://github.com/OData/odata.net/pull/989.diff","patch_url":"https://github.com/OData/odata.net/pull/989.patch","issue_url":"https://api.github.com/repos/OData/odata.net/issues/989","number":989,"state":"open","locked":false,"title":"Add support for 4.01 Delta Format","user":{"login":"mikepizzo","id":8660830,"avatar_url":"https://avatars2.githubusercontent.com/u/8660830?v=4","gravatar_id":"","url":"https://api.github.com/users/mikepizzo","html_url":"https://github.com/mikepizzo","followers_url":"https://api.github.com/users/mikepizzo/followers","following_url":"https://api.github.com/users/mikepizzo/following{/other_user}","gists_url":"https://api.github.com/users/mikepizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepizzo/subscriptions","organizations_url":"https://api.github.com/users/mikepizzo/orgs","repos_url":"https://api.github.com/users/mikepizzo/repos","events_url":"https://api.github.com/users/mikepizzo/events{/privacy}","received_events_url":"https://api.github.com/users/mikepizzo/received_events","type":"User","site_admin":false},"body":"<!-- markdownlint-disable MD002 MD041 -->\r\n\r\n### Issues\r\n\r\n*This pull request fixes issue #988.*\r\n\r\n### Description\r\n\r\nOData 4.01 adds support for a new delta format: http://docs.oasis-open.org/odata/odata-json-format/v4.01/csprd03/odata-json-format-v4.01-csprd03.html#sec_DeletedEntity.\r\n\r\nThe new format marks deleted entries using an @odata.removed annotation that contains the deleted reason, and nested delta resource sets using an @Delta annotation. In the new format, a deleted entry can have properties, and is identified either by @odata.id or by key properties.\r\n\r\nThis PR adds support for an OData 4.01 version, and uses that to control writing of 4.0 versus 4.01 format. Delta functionality is integrated into ODataReader and ODataWriter; the previous ODataDeltaReader and ODataDeltaWriter are retained as shims for backward compatibility, but marked as obsolete.  Replace CreateODataDeltaWriter with CreateODataDeltaResourceSetWriter and CreateODataDeltaReader with CreateODataDeltaResourceSetWriter\r\n\r\n### Checklist (Uncheck if it is not completed)\r\n\r\n- [x] *Test cases added*\r\n- [x] *Build and test with one-click build and test script passed*\r\n\r\n### Additional work necessary\r\n\r\n*Docs needed.*\r\n*4.01 also adds support for deltas in request payloads.  This PR sets up deltas to be able to use in a request payload, but does not remove the current restrictions nor ensure critical annotations are written in order to support using in request payloads.*","created_at":"2017-11-06T02:31:32Z","updated_at":"2017-11-10T05:20:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13dbbedc8bc953758029a2b1c37c3e9b9878c145","assignee":null,"assignees":[],"requested_reviewers":[{"login":"robward-ms","id":24462145,"avatar_url":"https://avatars2.githubusercontent.com/u/24462145?v=4","gravatar_id":"","url":"https://api.github.com/users/robward-ms","html_url":"https://github.com/robward-ms","followers_url":"https://api.github.com/users/robward-ms/followers","following_url":"https://api.github.com/users/robward-ms/following{/other_user}","gists_url":"https://api.github.com/users/robward-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/robward-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robward-ms/subscriptions","organizations_url":"https://api.github.com/users/robward-ms/orgs","repos_url":"https://api.github.com/users/robward-ms/repos","events_url":"https://api.github.com/users/robward-ms/events{/privacy}","received_events_url":"https://api.github.com/users/robward-ms/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OData/odata.net/pulls/989/commits","review_comments_url":"https://api.github.com/repos/OData/odata.net/pulls/989/comments","review_comment_url":"https://api.github.com/repos/OData/odata.net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OData/odata.net/issues/989/comments","statuses_url":"https://api.github.com/repos/OData/odata.net/statuses/95a8043ae397c668619fe4153545c1a71c94ba21","head":{"label":"mikepizzo:NewDeltas","ref":"NewDeltas","sha":"95a8043ae397c668619fe4153545c1a71c94ba21","user":{"login":"mikepizzo","id":8660830,"avatar_url":"https://avatars2.githubusercontent.com/u/8660830?v=4","gravatar_id":"","url":"https://api.github.com/users/mikepizzo","html_url":"https://github.com/mikepizzo","followers_url":"https://api.github.com/users/mikepizzo/followers","following_url":"https://api.github.com/users/mikepizzo/following{/other_user}","gists_url":"https://api.github.com/users/mikepizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepizzo/subscriptions","organizations_url":"https://api.github.com/users/mikepizzo/orgs","repos_url":"https://api.github.com/users/mikepizzo/repos","events_url":"https://api.github.com/users/mikepizzo/events{/privacy}","received_events_url":"https://api.github.com/users/mikepizzo/received_events","type":"User","site_admin":false},"repo":{"id":79848149,"name":"odata.net","full_name":"mikepizzo/odata.net","owner":{"login":"mikepizzo","id":8660830,"avatar_url":"https://avatars2.githubusercontent.com/u/8660830?v=4","gravatar_id":"","url":"https://api.github.com/users/mikepizzo","html_url":"https://github.com/mikepizzo","followers_url":"https://api.github.com/users/mikepizzo/followers","following_url":"https://api.github.com/users/mikepizzo/following{/other_user}","gists_url":"https://api.github.com/users/mikepizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepizzo/subscriptions","organizations_url":"https://api.github.com/users/mikepizzo/orgs","repos_url":"https://api.github.com/users/mikepizzo/repos","events_url":"https://api.github.com/users/mikepizzo/events{/privacy}","received_events_url":"https://api.github.com/users/mikepizzo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikepizzo/odata.net","description":"ODataLib: Open Data Protocol - .NET/Silverlight/WP8.1 Libraries and Frameworks","fork":true,"url":"https://api.github.com/repos/mikepizzo/odata.net","forks_url":"https://api.github.com/repos/mikepizzo/odata.net/forks","keys_url":"https://api.github.com/repos/mikepizzo/odata.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikepizzo/odata.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikepizzo/odata.net/teams","hooks_url":"https://api.github.com/repos/mikepizzo/odata.net/hooks","issue_events_url":"https://api.github.com/repos/mikepizzo/odata.net/issues/events{/number}","events_url":"https://api.github.com/repos/mikepizzo/odata.net/events","assignees_url":"https://api.github.com/repos/mikepizzo/odata.net/assignees{/user}","branches_url":"https://api.github.com/repos/mikepizzo/odata.net/branches{/branch}","tags_url":"https://api.github.com/repos/mikepizzo/odata.net/tags","blobs_url":"https://api.github.com/repos/mikepizzo/odata.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikepizzo/odata.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikepizzo/odata.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikepizzo/odata.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikepizzo/odata.net/statuses/{sha}","languages_url":"https://api.github.com/repos/mikepizzo/odata.net/languages","stargazers_url":"https://api.github.com/repos/mikepizzo/odata.net/stargazers","contributors_url":"https://api.github.com/repos/mikepizzo/odata.net/contributors","subscribers_url":"https://api.github.com/repos/mikepizzo/odata.net/subscribers","subscription_url":"https://api.github.com/repos/mikepizzo/odata.net/subscription","commits_url":"https://api.github.com/repos/mikepizzo/odata.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikepizzo/odata.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikepizzo/odata.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikepizzo/odata.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikepizzo/odata.net/contents/{+path}","compare_url":"https://api.github.com/repos/mikepizzo/odata.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikepizzo/odata.net/merges","archive_url":"https://api.github.com/repos/mikepizzo/odata.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikepizzo/odata.net/downloads","issues_url":"https://api.github.com/repos/mikepizzo/odata.net/issues{/number}","pulls_url":"https://api.github.com/repos/mikepizzo/odata.net/pulls{/number}","milestones_url":"https://api.github.com/repos/mikepizzo/odata.net/milestones{/number}","notifications_url":"https://api.github.com/repos/mikepizzo/odata.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikepizzo/odata.net/labels{/name}","releases_url":"https://api.github.com/repos/mikepizzo/odata.net/releases{/id}","deployments_url":"https://api.github.com/repos/mikepizzo/odata.net/deployments","created_at":"2017-01-23T21:07:08Z","updated_at":"2017-01-23T21:07:35Z","pushed_at":"2017-11-08T20:16:55Z","git_url":"git://github.com/mikepizzo/odata.net.git","ssh_url":"git@github.com:mikepizzo/odata.net.git","clone_url":"https://github.com/mikepizzo/odata.net.git","svn_url":"https://github.com/mikepizzo/odata.net","homepage":"http://odata.github.io/odata.net","size":49356,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"ODataV4-6.x"}},"base":{"label":"OData:master","ref":"master","sha":"8a9040b16f8fddd9fee26eff16d1f6002212d13d","user":{"login":"OData","id":916520,"avatar_url":"https://avatars1.githubusercontent.com/u/916520?v=4","gravatar_id":"","url":"https://api.github.com/users/OData","html_url":"https://github.com/OData","followers_url":"https://api.github.com/users/OData/followers","following_url":"https://api.github.com/users/OData/following{/other_user}","gists_url":"https://api.github.com/users/OData/gists{/gist_id}","starred_url":"https://api.github.com/users/OData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OData/subscriptions","organizations_url":"https://api.github.com/users/OData/orgs","repos_url":"https://api.github.com/users/OData/repos","events_url":"https://api.github.com/users/OData/events{/privacy}","received_events_url":"https://api.github.com/users/OData/received_events","type":"Organization","site_admin":false},"repo":{"id":23308338,"name":"odata.net","full_name":"OData/odata.net","owner":{"login":"OData","id":916520,"avatar_url":"https://avatars1.githubusercontent.com/u/916520?v=4","gravatar_id":"","url":"https://api.github.com/users/OData","html_url":"https://github.com/OData","followers_url":"https://api.github.com/users/OData/followers","following_url":"https://api.github.com/users/OData/following{/other_user}","gists_url":"https://api.github.com/users/OData/gists{/gist_id}","starred_url":"https://api.github.com/users/OData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OData/subscriptions","organizations_url":"https://api.github.com/users/OData/orgs","repos_url":"https://api.github.com/users/OData/repos","events_url":"https://api.github.com/users/OData/events{/privacy}","received_events_url":"https://api.github.com/users/OData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OData/odata.net","description":"ODataLib: Open Data Protocol - .NET/Silverlight/WP8.1 Libraries and Frameworks","fork":false,"url":"https://api.github.com/repos/OData/odata.net","forks_url":"https://api.github.com/repos/OData/odata.net/forks","keys_url":"https://api.github.com/repos/OData/odata.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OData/odata.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OData/odata.net/teams","hooks_url":"https://api.github.com/repos/OData/odata.net/hooks","issue_events_url":"https://api.github.com/repos/OData/odata.net/issues/events{/number}","events_url":"https://api.github.com/repos/OData/odata.net/events","assignees_url":"https://api.github.com/repos/OData/odata.net/assignees{/user}","branches_url":"https://api.github.com/repos/OData/odata.net/branches{/branch}","tags_url":"https://api.github.com/repos/OData/odata.net/tags","blobs_url":"https://api.github.com/repos/OData/odata.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OData/odata.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OData/odata.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/OData/odata.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OData/odata.net/statuses/{sha}","languages_url":"https://api.github.com/repos/OData/odata.net/languages","stargazers_url":"https://api.github.com/repos/OData/odata.net/stargazers","contributors_url":"https://api.github.com/repos/OData/odata.net/contributors","subscribers_url":"https://api.github.com/repos/OData/odata.net/subscribers","subscription_url":"https://api.github.com/repos/OData/odata.net/subscription","commits_url":"https://api.github.com/repos/OData/odata.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/OData/odata.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/OData/odata.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/OData/odata.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/OData/odata.net/contents/{+path}","compare_url":"https://api.github.com/repos/OData/odata.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OData/odata.net/merges","archive_url":"https://api.github.com/repos/OData/odata.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OData/odata.net/downloads","issues_url":"https://api.github.com/repos/OData/odata.net/issues{/number}","pulls_url":"https://api.github.com/repos/OData/odata.net/pulls{/number}","milestones_url":"https://api.github.com/repos/OData/odata.net/milestones{/number}","notifications_url":"https://api.github.com/repos/OData/odata.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OData/odata.net/labels{/name}","releases_url":"https://api.github.com/repos/OData/odata.net/releases{/id}","deployments_url":"https://api.github.com/repos/OData/odata.net/deployments","created_at":"2014-08-25T09:15:23Z","updated_at":"2017-11-08T17:34:20Z","pushed_at":"2017-11-10T00:44:33Z","git_url":"git://github.com/OData/odata.net.git","ssh_url":"git@github.com:OData/odata.net.git","clone_url":"https://github.com/OData/odata.net.git","svn_url":"https://github.com/OData/odata.net","homepage":"http://odata.github.io/odata.net","size":50625,"stargazers_count":278,"watchers_count":278,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":162,"mirror_url":null,"archived":false,"open_issues_count":205,"forks":162,"open_issues":205,"watchers":278,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OData/odata.net/pulls/989"},"html":{"href":"https://github.com/OData/odata.net/pull/989"},"issue":{"href":"https://api.github.com/repos/OData/odata.net/issues/989"},"comments":{"href":"https://api.github.com/repos/OData/odata.net/issues/989/comments"},"review_comments":{"href":"https://api.github.com/repos/OData/odata.net/pulls/989/comments"},"review_comment":{"href":"https://api.github.com/repos/OData/odata.net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OData/odata.net/pulls/989/commits"},"statuses":{"href":"https://api.github.com/repos/OData/odata.net/statuses/95a8043ae397c668619fe4153545c1a71c94ba21"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"biaol-odata"}}