{"action":"closed","number":35,"pull_request":{"url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls/35","id":35541995,"html_url":"https://github.com/bilal-fazlani/tracker-enabled-dbcontext/pull/35","diff_url":"https://github.com/bilal-fazlani/tracker-enabled-dbcontext/pull/35.diff","patch_url":"https://github.com/bilal-fazlani/tracker-enabled-dbcontext/pull/35.patch","issue_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/issues/35","number":35,"state":"closed","locked":false,"title":"Bug Fix: check subtypes when determining table name to avoid crashing","user":{"login":"p2bauer","id":6989445,"avatar_url":"https://avatars.githubusercontent.com/u/6989445?v=3","gravatar_id":"","url":"https://api.github.com/users/p2bauer","html_url":"https://github.com/p2bauer","followers_url":"https://api.github.com/users/p2bauer/followers","following_url":"https://api.github.com/users/p2bauer/following{/other_user}","gists_url":"https://api.github.com/users/p2bauer/gists{/gist_id}","starred_url":"https://api.github.com/users/p2bauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p2bauer/subscriptions","organizations_url":"https://api.github.com/users/p2bauer/orgs","repos_url":"https://api.github.com/users/p2bauer/repos","events_url":"https://api.github.com/users/p2bauer/events{/privacy}","received_events_url":"https://api.github.com/users/p2bauer/received_events","type":"User","site_admin":false},"body":"EF Tables can have multiple subclasses in the same table (using discriminator column to differentiate).  Currently when using auditing in this case, we crash.\r\n\r\nSo to account for this when determining table name, check if entityType is subclass of y as well.","created_at":"2015-05-15T19:12:23Z","updated_at":"2015-05-16T00:03:14Z","closed_at":"2015-05-16T00:03:13Z","merged_at":"2015-05-16T00:03:13Z","merge_commit_sha":"b4c44f7e5a389e0f61bc43b0f9a3786edaa16441","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls/35/commits","review_comments_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls/35/comments","review_comment_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/issues/35/comments","statuses_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/statuses/6d4304be77ba7f39761fc3124de92eb480c0c220","head":{"label":"p2bauer:p2bauer/dev","ref":"p2bauer/dev","sha":"6d4304be77ba7f39761fc3124de92eb480c0c220","user":{"login":"p2bauer","id":6989445,"avatar_url":"https://avatars.githubusercontent.com/u/6989445?v=3","gravatar_id":"","url":"https://api.github.com/users/p2bauer","html_url":"https://github.com/p2bauer","followers_url":"https://api.github.com/users/p2bauer/followers","following_url":"https://api.github.com/users/p2bauer/following{/other_user}","gists_url":"https://api.github.com/users/p2bauer/gists{/gist_id}","starred_url":"https://api.github.com/users/p2bauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p2bauer/subscriptions","organizations_url":"https://api.github.com/users/p2bauer/orgs","repos_url":"https://api.github.com/users/p2bauer/repos","events_url":"https://api.github.com/users/p2bauer/events{/privacy}","received_events_url":"https://api.github.com/users/p2bauer/received_events","type":"User","site_admin":false},"repo":{"id":35691547,"name":"tracker-enabled-dbcontext","full_name":"p2bauer/tracker-enabled-dbcontext","owner":{"login":"p2bauer","id":6989445,"avatar_url":"https://avatars.githubusercontent.com/u/6989445?v=3","gravatar_id":"","url":"https://api.github.com/users/p2bauer","html_url":"https://github.com/p2bauer","followers_url":"https://api.github.com/users/p2bauer/followers","following_url":"https://api.github.com/users/p2bauer/following{/other_user}","gists_url":"https://api.github.com/users/p2bauer/gists{/gist_id}","starred_url":"https://api.github.com/users/p2bauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p2bauer/subscriptions","organizations_url":"https://api.github.com/users/p2bauer/orgs","repos_url":"https://api.github.com/users/p2bauer/repos","events_url":"https://api.github.com/users/p2bauer/events{/privacy}","received_events_url":"https://api.github.com/users/p2bauer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/p2bauer/tracker-enabled-dbcontext","description":"Tracker-enabled DbContext offers you to implement full auditing in your database","fork":true,"url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext","forks_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/forks","keys_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/teams","hooks_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/hooks","issue_events_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/issues/events{/number}","events_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/events","assignees_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/assignees{/user}","branches_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/branches{/branch}","tags_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/tags","blobs_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/git/refs{/sha}","trees_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/statuses/{sha}","languages_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/languages","stargazers_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/stargazers","contributors_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/contributors","subscribers_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/subscribers","subscription_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/subscription","commits_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/commits{/sha}","git_commits_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/git/commits{/sha}","comments_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/comments{/number}","issue_comment_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/issues/comments{/number}","contents_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/contents/{+path}","compare_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/merges","archive_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/downloads","issues_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/issues{/number}","pulls_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/pulls{/number}","milestones_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/milestones{/number}","notifications_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/labels{/name}","releases_url":"https://api.github.com/repos/p2bauer/tracker-enabled-dbcontext/releases{/id}","created_at":"2015-05-15T19:03:44Z","updated_at":"2015-05-15T19:03:45Z","pushed_at":"2015-05-15T19:11:29Z","git_url":"git://github.com/p2bauer/tracker-enabled-dbcontext.git","ssh_url":"git@github.com:p2bauer/tracker-enabled-dbcontext.git","clone_url":"https://github.com/p2bauer/tracker-enabled-dbcontext.git","svn_url":"https://github.com/p2bauer/tracker-enabled-dbcontext","homepage":"http://bilal-fazlani.blogspot.in/2013/09/adding-log-audit-feature-to-entity.html","size":53570,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bilal-fazlani:master","ref":"master","sha":"ab4d4cce00907a60e69e6d56e9746241135afa84","user":{"login":"bilal-fazlani","id":3396271,"avatar_url":"https://avatars.githubusercontent.com/u/3396271?v=3","gravatar_id":"","url":"https://api.github.com/users/bilal-fazlani","html_url":"https://github.com/bilal-fazlani","followers_url":"https://api.github.com/users/bilal-fazlani/followers","following_url":"https://api.github.com/users/bilal-fazlani/following{/other_user}","gists_url":"https://api.github.com/users/bilal-fazlani/gists{/gist_id}","starred_url":"https://api.github.com/users/bilal-fazlani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilal-fazlani/subscriptions","organizations_url":"https://api.github.com/users/bilal-fazlani/orgs","repos_url":"https://api.github.com/users/bilal-fazlani/repos","events_url":"https://api.github.com/users/bilal-fazlani/events{/privacy}","received_events_url":"https://api.github.com/users/bilal-fazlani/received_events","type":"User","site_admin":false},"repo":{"id":14826066,"name":"tracker-enabled-dbcontext","full_name":"bilal-fazlani/tracker-enabled-dbcontext","owner":{"login":"bilal-fazlani","id":3396271,"avatar_url":"https://avatars.githubusercontent.com/u/3396271?v=3","gravatar_id":"","url":"https://api.github.com/users/bilal-fazlani","html_url":"https://github.com/bilal-fazlani","followers_url":"https://api.github.com/users/bilal-fazlani/followers","following_url":"https://api.github.com/users/bilal-fazlani/following{/other_user}","gists_url":"https://api.github.com/users/bilal-fazlani/gists{/gist_id}","starred_url":"https://api.github.com/users/bilal-fazlani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilal-fazlani/subscriptions","organizations_url":"https://api.github.com/users/bilal-fazlani/orgs","repos_url":"https://api.github.com/users/bilal-fazlani/repos","events_url":"https://api.github.com/users/bilal-fazlani/events{/privacy}","received_events_url":"https://api.github.com/users/bilal-fazlani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bilal-fazlani/tracker-enabled-dbcontext","description":"Tracker-enabled DbContext offers you to implement full auditing in your database","fork":false,"url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext","forks_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/forks","keys_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/teams","hooks_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/hooks","issue_events_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/issues/events{/number}","events_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/events","assignees_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/assignees{/user}","branches_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/branches{/branch}","tags_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/tags","blobs_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/git/refs{/sha}","trees_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/statuses/{sha}","languages_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/languages","stargazers_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/stargazers","contributors_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/contributors","subscribers_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/subscribers","subscription_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/subscription","commits_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/commits{/sha}","git_commits_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/git/commits{/sha}","comments_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/comments{/number}","issue_comment_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/issues/comments{/number}","contents_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/contents/{+path}","compare_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/merges","archive_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/downloads","issues_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/issues{/number}","pulls_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls{/number}","milestones_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/milestones{/number}","notifications_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/labels{/name}","releases_url":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/releases{/id}","created_at":"2013-11-30T18:26:32Z","updated_at":"2015-05-06T20:31:14Z","pushed_at":"2015-05-16T00:03:13Z","git_url":"git://github.com/bilal-fazlani/tracker-enabled-dbcontext.git","ssh_url":"git@github.com:bilal-fazlani/tracker-enabled-dbcontext.git","clone_url":"https://github.com/bilal-fazlani/tracker-enabled-dbcontext.git","svn_url":"https://github.com/bilal-fazlani/tracker-enabled-dbcontext","homepage":"http://bilal-fazlani.blogspot.in/2013/09/adding-log-audit-feature-to-entity.html","size":53991,"stargazers_count":16,"watchers_count":16,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":17,"mirror_url":null,"open_issues_count":12,"forks":17,"open_issues":12,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls/35"},"html":{"href":"https://github.com/bilal-fazlani/tracker-enabled-dbcontext/pull/35"},"issue":{"href":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/issues/35"},"comments":{"href":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/bilal-fazlani/tracker-enabled-dbcontext/statuses/6d4304be77ba7f39761fc3124de92eb480c0c220"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bilal-fazlani","id":3396271,"avatar_url":"https://avatars.githubusercontent.com/u/3396271?v=3","gravatar_id":"","url":"https://api.github.com/users/bilal-fazlani","html_url":"https://github.com/bilal-fazlani","followers_url":"https://api.github.com/users/bilal-fazlani/followers","following_url":"https://api.github.com/users/bilal-fazlani/following{/other_user}","gists_url":"https://api.github.com/users/bilal-fazlani/gists{/gist_id}","starred_url":"https://api.github.com/users/bilal-fazlani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilal-fazlani/subscriptions","organizations_url":"https://api.github.com/users/bilal-fazlani/orgs","repos_url":"https://api.github.com/users/bilal-fazlani/repos","events_url":"https://api.github.com/users/bilal-fazlani/events{/privacy}","received_events_url":"https://api.github.com/users/bilal-fazlani/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}