{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls/14","id":55072654,"html_url":"https://github.com/scott-xu/EntityFramework.Testing/pull/14","diff_url":"https://github.com/scott-xu/EntityFramework.Testing/pull/14.diff","patch_url":"https://github.com/scott-xu/EntityFramework.Testing/pull/14.patch","issue_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/issues/14","number":14,"state":"open","locked":false,"title":"Add default behaviour for `DbSet.Create` and `IQueryable.AsNoTracking`","user":{"login":"mattbrooks2010","id":2045274,"avatar_url":"https://avatars.githubusercontent.com/u/2045274?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrooks2010","html_url":"https://github.com/mattbrooks2010","followers_url":"https://api.github.com/users/mattbrooks2010/followers","following_url":"https://api.github.com/users/mattbrooks2010/following{/other_user}","gists_url":"https://api.github.com/users/mattbrooks2010/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrooks2010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrooks2010/subscriptions","organizations_url":"https://api.github.com/users/mattbrooks2010/orgs","repos_url":"https://api.github.com/users/mattbrooks2010/repos","events_url":"https://api.github.com/users/mattbrooks2010/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrooks2010/received_events","type":"User","site_admin":false},"body":"This pull request adds default behaviour for the following:\r\n\r\n- `DbSet.Create` which returns a new entity instance on each invocation.\r\n- `IQueryable.AsNoTracking` which is a no-op but allows the call to be specified in code under test.\r\n\r\nThis pull request also adds a test ensuring the expression based overload of `IQueryable.Include` can be used within code under test.\r\n\r\nPlease note that the overload `DbSet.Create<TDerivedEntity>` is not yet supported. ","created_at":"2016-01-05T09:57:57Z","updated_at":"2016-01-05T09:57:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls/14/commits","review_comments_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls/14/comments","review_comment_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/issues/14/comments","statuses_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/statuses/bfc8cfd79de0b1aaa18275a36544330f344ff76f","head":{"label":"EnableSoftware:mock-create","ref":"mock-create","sha":"bfc8cfd79de0b1aaa18275a36544330f344ff76f","user":{"login":"EnableSoftware","id":12434208,"avatar_url":"https://avatars.githubusercontent.com/u/12434208?v=3","gravatar_id":"","url":"https://api.github.com/users/EnableSoftware","html_url":"https://github.com/EnableSoftware","followers_url":"https://api.github.com/users/EnableSoftware/followers","following_url":"https://api.github.com/users/EnableSoftware/following{/other_user}","gists_url":"https://api.github.com/users/EnableSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/EnableSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnableSoftware/subscriptions","organizations_url":"https://api.github.com/users/EnableSoftware/orgs","repos_url":"https://api.github.com/users/EnableSoftware/repos","events_url":"https://api.github.com/users/EnableSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/EnableSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":38101315,"name":"EntityFramework.Testing","full_name":"EnableSoftware/EntityFramework.Testing","owner":{"login":"EnableSoftware","id":12434208,"avatar_url":"https://avatars.githubusercontent.com/u/12434208?v=3","gravatar_id":"","url":"https://api.github.com/users/EnableSoftware","html_url":"https://github.com/EnableSoftware","followers_url":"https://api.github.com/users/EnableSoftware/followers","following_url":"https://api.github.com/users/EnableSoftware/following{/other_user}","gists_url":"https://api.github.com/users/EnableSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/EnableSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnableSoftware/subscriptions","organizations_url":"https://api.github.com/users/EnableSoftware/orgs","repos_url":"https://api.github.com/users/EnableSoftware/repos","events_url":"https://api.github.com/users/EnableSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/EnableSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EnableSoftware/EntityFramework.Testing","description":"EntityFramework Testing","fork":true,"url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing","forks_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/forks","keys_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/teams","hooks_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/hooks","issue_events_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/issues/events{/number}","events_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/events","assignees_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/assignees{/user}","branches_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/branches{/branch}","tags_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/tags","blobs_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/git/refs{/sha}","trees_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/statuses/{sha}","languages_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/languages","stargazers_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/stargazers","contributors_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/contributors","subscribers_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/subscribers","subscription_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/subscription","commits_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/commits{/sha}","git_commits_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/git/commits{/sha}","comments_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/comments{/number}","issue_comment_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/issues/comments{/number}","contents_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/contents/{+path}","compare_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/merges","archive_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/downloads","issues_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/issues{/number}","pulls_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/pulls{/number}","milestones_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/milestones{/number}","notifications_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/labels{/name}","releases_url":"https://api.github.com/repos/EnableSoftware/EntityFramework.Testing/releases{/id}","created_at":"2015-06-26T08:57:14Z","updated_at":"2015-06-26T08:57:14Z","pushed_at":"2016-01-05T09:50:14Z","git_url":"git://github.com/EnableSoftware/EntityFramework.Testing.git","ssh_url":"git@github.com:EnableSoftware/EntityFramework.Testing.git","clone_url":"https://github.com/EnableSoftware/EntityFramework.Testing.git","svn_url":"https://github.com/EnableSoftware/EntityFramework.Testing","homepage":"","size":1028,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scott-xu:master","ref":"master","sha":"483a74b0e9ae4cb282ce2792ae754e8da4011588","user":{"login":"scott-xu","id":1913505,"avatar_url":"https://avatars.githubusercontent.com/u/1913505?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-xu","html_url":"https://github.com/scott-xu","followers_url":"https://api.github.com/users/scott-xu/followers","following_url":"https://api.github.com/users/scott-xu/following{/other_user}","gists_url":"https://api.github.com/users/scott-xu/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-xu/subscriptions","organizations_url":"https://api.github.com/users/scott-xu/orgs","repos_url":"https://api.github.com/users/scott-xu/repos","events_url":"https://api.github.com/users/scott-xu/events{/privacy}","received_events_url":"https://api.github.com/users/scott-xu/received_events","type":"User","site_admin":false},"repo":{"id":22641137,"name":"EntityFramework.Testing","full_name":"scott-xu/EntityFramework.Testing","owner":{"login":"scott-xu","id":1913505,"avatar_url":"https://avatars.githubusercontent.com/u/1913505?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-xu","html_url":"https://github.com/scott-xu","followers_url":"https://api.github.com/users/scott-xu/followers","following_url":"https://api.github.com/users/scott-xu/following{/other_user}","gists_url":"https://api.github.com/users/scott-xu/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-xu/subscriptions","organizations_url":"https://api.github.com/users/scott-xu/orgs","repos_url":"https://api.github.com/users/scott-xu/repos","events_url":"https://api.github.com/users/scott-xu/events{/privacy}","received_events_url":"https://api.github.com/users/scott-xu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scott-xu/EntityFramework.Testing","description":"EntityFramework Testing","fork":true,"url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing","forks_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/forks","keys_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/teams","hooks_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/hooks","issue_events_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/issues/events{/number}","events_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/events","assignees_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/assignees{/user}","branches_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/branches{/branch}","tags_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/tags","blobs_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/git/refs{/sha}","trees_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/statuses/{sha}","languages_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/languages","stargazers_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/stargazers","contributors_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/contributors","subscribers_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/subscribers","subscription_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/subscription","commits_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/commits{/sha}","git_commits_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/git/commits{/sha}","comments_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/comments{/number}","issue_comment_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/issues/comments{/number}","contents_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/contents/{+path}","compare_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/merges","archive_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/downloads","issues_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/issues{/number}","pulls_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls{/number}","milestones_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/milestones{/number}","notifications_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/labels{/name}","releases_url":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/releases{/id}","created_at":"2014-08-05T11:31:13Z","updated_at":"2015-12-17T06:38:07Z","pushed_at":"2016-01-05T09:57:58Z","git_url":"git://github.com/scott-xu/EntityFramework.Testing.git","ssh_url":"git@github.com:scott-xu/EntityFramework.Testing.git","clone_url":"https://github.com/scott-xu/EntityFramework.Testing.git","svn_url":"https://github.com/scott-xu/EntityFramework.Testing","homepage":"","size":1288,"stargazers_count":29,"watchers_count":29,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls/14"},"html":{"href":"https://github.com/scott-xu/EntityFramework.Testing/pull/14"},"issue":{"href":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/issues/14"},"comments":{"href":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/scott-xu/EntityFramework.Testing/statuses/bfc8cfd79de0b1aaa18275a36544330f344ff76f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":135,"deletions":5,"changed_files":7}}