{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/pulls/comments/29789525","id":29789525,"diff_hunk":"@@ -0,0 +1,784 @@\n+﻿// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.\n+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n+\n+using System;\n+using System.Linq;\n+using Microsoft.Data.Entity.Commands.TestUtilities;\n+using Microsoft.Data.Entity.Commands.Utilities;\n+using Microsoft.Data.Entity.Metadata;\n+using Microsoft.Data.Entity.Metadata.Builders;\n+using Microsoft.Data.Entity.Utilities;\n+using Xunit;\n+\n+namespace Microsoft.Data.Entity.Commands.Migrations\n+{\n+    public class ModelSnapshotTest\n+    {\n+        public class EntityWithOneProperty\n+        {\n+            public int Id { get; set; }\n+        }\n+\n+        public class EntityWithTwoProperties\n+        {\n+            public int Id { get; set; }\n+            public int AlternateId { get; set; }\n+        }\n+\n+        public class EntityWithStringProperty\n+        {\n+            public int Id { get; set; }\n+            public string Name { get; set; }\n+        }\n+\n+        public class EntityWithStringKey\n+        {\n+            public string Id { get; set; }\n+        }\n+\n+        #region Model\n+\n+        [Fact]\n+        public void Model_annotations_are_stored_in_snapshot()\n+        {\n+            var builder = new ModelBuilderFactory().CreateConventionBuilder();\n+            builder.Annotation(\"AnnotationName\", \"AnnotationValue\");\n+\n+            var code =\n+                 @\"var builder = new ModelBuilder(new ConventionSet())\n+    .Annotation(\"\"AnnotationName\"\", \"\"AnnotationValue\"\");\n+\n+return builder.Model;\n+\";\n+            Test(builder.Model, code,\n+                o =>\n+                {\n+                    Assert.Equal(1, o.Annotations.Count());\n+                    Assert.Equal(\"AnnotationValue\", o[\"AnnotationName\"]);\n+                });\n+        }\n+\n+        [Fact]\n+        public void Entities_are_stored_in_model_snapshot()\n+        {\n+            var builder = new ModelBuilderFactory().CreateConventionBuilder();\n+            builder.Entity<EntityWithOneProperty>();\n+            builder.Entity<EntityWithTwoProperties>();\n+\n+            var code =\n+                 @\"var builder = new ModelBuilder(new ConventionSet());\n+\n+builder.Entity(\"\"Microsoft.Data.Entity.Commands.Migrations.ModelSnapshotTest+EntityWithOneProperty\"\", b =>\n+    {\n+        b.Property<int>(\"\"Id\"\")\n+            .GenerateValueOnAdd()\n+            .StoreGeneratedPattern(StoreGeneratedPattern.Identity)\n+            .Annotation(\"\"OriginalValueIndex\"\", 0);\n+        b.Key(\"\"Id\"\");\n+    });\n+\n+builder.Entity(\"\"Microsoft.Data.Entity.Commands.Migrations.ModelSnapshotTest+EntityWithTwoProperties\"\", b =>\n+    {\n+        b.Property<int>(\"\"Id\"\")\n+            .GenerateValueOnAdd()\n+            .StoreGeneratedPattern(StoreGeneratedPattern.Identity)\n+            .Annotation(\"\"OriginalValueIndex\"\", 0);\n+        b.Property<int>(\"\"AlternateId\"\")\n+            .Annotation(\"\"OriginalValueIndex\"\", 1);\n+        b.Key(\"\"Id\"\");\n+    });\n+\n+return builder.Model;\n+\";\n+            Test(builder.Model, code,\n+                o =>\n+                    {\n+                        Assert.Equal(2, o.EntityTypes.Count);\n+                        Assert.Equal(\"Microsoft.Data.Entity.Commands.Migrations.ModelSnapshotTest+EntityWithOneProperty\", o.EntityTypes[0].Name);\n+                        Assert.Equal(\"Microsoft.Data.Entity.Commands.Migrations.ModelSnapshotTest+EntityWithTwoProperties\", o.EntityTypes[1].Name);\n+                    });\n+        }\n+\n+        #endregion\n+\n+        #region EntityType\n+\n+        [Fact]\n+        public void EntityType_annotations_are_stored_in_snapshot()\n+        {\n+            var builder = new ModelBuilderFactory().CreateConventionBuilder();\n+            builder.Entity<EntityWithOneProperty>().Annotation(\"AnnotationName\", \"AnnotationValue\");\n+\n+            var code =\n+                 @\"var builder = new ModelBuilder(new ConventionSet());\n+\n+builder.Entity(\"\"Microsoft.Data.Entity.Commands.Migrations.ModelSnapshotTest+EntityWithOneProperty\"\", b =>\n+    {\n+        b.Property<int>(\"\"Id\"\")\n+            .GenerateValueOnAdd()\n+            .StoreGeneratedPattern(StoreGeneratedPattern.Identity)\n+            .Annotation(\"\"OriginalValueIndex\"\", 0);\n+        b.Key(\"\"Id\"\");\n+        b.Annotation(\"\"AnnotationName\"\", \"\"AnnotationValue\"\");\n+    });\n+\n+return builder.Model;\n+\";\n+            Test(builder.Model, code,\n+                o =>\n+                {\n+                    Assert.Equal(1, o.EntityTypes[0].Annotations.Count());\n+                    Assert.Equal(\"AnnotationValue\", o.EntityTypes[0][\"AnnotationName\"]);\n+                });\n+        }\n+\n+        [Fact]\n+        public void Properties_are_stored_in_snapshot()\n+        {\n+            var builder = new ModelBuilderFactory().CreateConventionBuilder();\n+            builder.Entity<EntityWithTwoProperties>();\n+\n+            var code =\n+                 @\"var builder = new ModelBuilder(new ConventionSet());\n+\n+builder.Entity(\"\"Microsoft.Data.Entity.Commands.Migrations.ModelSnapshotTest+EntityWithTwoProperties\"\", b =>\n+    {\n+        b.Property<int>(\"\"Id\"\")\n+            .GenerateValueOnAdd()\n+            .StoreGeneratedPattern(StoreGeneratedPattern.Identity)\n+            .Annotation(\"\"OriginalValueIndex\"\", 0);\n+        b.Property<int>(\"\"AlternateId\"\")\n+            .Annotation(\"\"OriginalValueIndex\"\", 1);\n+        b.Key(\"\"Id\"\");\n+    });\n+\n+return builder.Model;\n+\";\n+            Test(builder.Model, code,\n+                o =>\n+                {\n+                    Assert.Equal(2, o.EntityTypes.First().GetProperties().Count());\n+                    Assert.Equal(\"Id\", o.EntityTypes.First().GetProperties().ElementAt(0).Name);\n+                    Assert.Equal(\"AlternateId\", o.EntityTypes.First().GetProperties().ElementAt(1).Name);\n+                });\n+        }\n+\n+        [Fact]\n+        public void Primary_key_is_stored_in_snapshot()\n+        {\n+            var builder = new ModelBuilderFactory().CreateConventionBuilder();\n+            builder.Entity<EntityWithTwoProperties>().Key(t => new { t.Id, t.AlternateId });\n+\n+            var code =\n+                 @\"var builder = new ModelBuilder(new ConventionSet());\n+\n+builder.Entity(\"\"Microsoft.Data.Entity.Commands.Migrations.ModelSnapshotTest+EntityWithTwoProperties\"\", b =>\n+    {\n+        b.Property<int>(\"\"Id\"\")\n+            .GenerateValueOnAdd()\n+            .StoreGeneratedPattern(StoreGeneratedPattern.Identity)\n+            .Annotation(\"\"OriginalValueIndex\"\", 0);\n+        b.Property<int>(\"\"AlternateId\"\")\n+            .GenerateValueOnAdd()\n+            .Annotation(\"\"OriginalValueIndex\"\", 1);\n+        b.Key(\"\"Id\"\", \"\"AlternateId\"\");\n+    });\n+\n+return builder.Model;\n+\";\n+            Test(builder.Model, code,\n+                o =>\n+                {\n+                    Assert.Equal(2, o.EntityTypes.First().GetPrimaryKey().Properties.Count);\n+                    Assert.Equal(\"Id\", o.EntityTypes.First().GetPrimaryKey().Properties[0].Name);\n+                    Assert.Equal(\"AlternateId\", o.EntityTypes.First().GetPrimaryKey().Properties[1].Name);\n+                });\n+        }\n+\n+        [Fact]\n+        public void Indexes_are_stored_in_snapshot()","path":"test/EntityFramework.Commands.FunctionalTests/Migrations/ModelSnapshotTest.cs","position":199,"original_position":199,"commit_id":"1267bb33329d8c3c29ccb85e364ac17c86eef47d","original_commit_id":"269acdf74aa14aacdc8a2b96f94c4e31d13607b5","user":{"login":"bricelam","id":1226749,"avatar_url":"https://avatars.githubusercontent.com/u/1226749?v=3","gravatar_id":"","url":"https://api.github.com/users/bricelam","html_url":"https://github.com/bricelam","followers_url":"https://api.github.com/users/bricelam/followers","following_url":"https://api.github.com/users/bricelam/following{/other_user}","gists_url":"https://api.github.com/users/bricelam/gists{/gist_id}","starred_url":"https://api.github.com/users/bricelam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricelam/subscriptions","organizations_url":"https://api.github.com/users/bricelam/orgs","repos_url":"https://api.github.com/users/bricelam/repos","events_url":"https://api.github.com/users/bricelam/events{/privacy}","received_events_url":"https://api.github.com/users/bricelam/received_events","type":"User","site_admin":false},"body":"May want a case for composite indices too.","created_at":"2015-05-06T18:52:08Z","updated_at":"2015-05-06T18:52:08Z","html_url":"https://github.com/aspnet/EntityFramework/pull/2097#discussion_r29789525","pull_request_url":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2097","_links":{"self":{"href":"https://api.github.com/repos/aspnet/EntityFramework/pulls/comments/29789525"},"html":{"href":"https://github.com/aspnet/EntityFramework/pull/2097#discussion_r29789525"},"pull_request":{"href":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2097"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2097","id":34490717,"html_url":"https://github.com/aspnet/EntityFramework/pull/2097","diff_url":"https://github.com/aspnet/EntityFramework/pull/2097.diff","patch_url":"https://github.com/aspnet/EntityFramework/pull/2097.patch","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2097","number":2097,"state":"open","locked":false,"title":"ModelSnapshot Bugfixes","user":{"login":"smitpatel","id":1528107,"avatar_url":"https://avatars.githubusercontent.com/u/1528107?v=3","gravatar_id":"","url":"https://api.github.com/users/smitpatel","html_url":"https://github.com/smitpatel","followers_url":"https://api.github.com/users/smitpatel/followers","following_url":"https://api.github.com/users/smitpatel/following{/other_user}","gists_url":"https://api.github.com/users/smitpatel/gists{/gist_id}","starred_url":"https://api.github.com/users/smitpatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smitpatel/subscriptions","organizations_url":"https://api.github.com/users/smitpatel/orgs","repos_url":"https://api.github.com/users/smitpatel/repos","events_url":"https://api.github.com/users/smitpatel/events{/privacy}","received_events_url":"https://api.github.com/users/smitpatel/received_events","type":"User","site_admin":false},"body":"Update ModelBuilder to allow string based methods\r\nUse ModelBuilder without conventions in Model Snapshot (fixes #1484)\r\nModel Snapshot now scaffolds following data\r\n* Model\r\n  - Annotations\r\n  - EntityTypes\r\n* EntityType\r\n  - Annotations\r\n  - Properties\r\n  - Primarty Key\r\n  - Indexes\r\n  - Foreign Keys\r\n  - Alternate Keys (fixes #924)\r\n* Property (fixes #1631)\r\n  - Annotations\r\n  - IsNullable (fixes #1273)\r\n  - StoreGeneratedPattern\r\n  - MaxLength\r\n  - GenerateValueOnAdd\r\n  - ConcurrencyToken\r\n* Index (fixes #1976)\r\n  - Annotations\r\n  - IsUnique\r\n* Foreign Key\r\n  - Annotations\r\n  - IsRequired\r\n  - IsUnique","created_at":"2015-04-30T19:04:21Z","updated_at":"2015-05-06T18:52:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d22472adde1404da985b782f8d16458fa548779","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2097/commits","review_comments_url":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2097/comments","review_comment_url":"https://api.github.com/repos/aspnet/EntityFramework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2097/comments","statuses_url":"https://api.github.com/repos/aspnet/EntityFramework/statuses/1267bb33329d8c3c29ccb85e364ac17c86eef47d","head":{"label":"aspnet:modelSnapshot","ref":"modelSnapshot","sha":"1267bb33329d8c3c29ccb85e364ac17c86eef47d","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","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":16157746,"name":"EntityFramework","full_name":"aspnet/EntityFramework","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","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},"private":false,"html_url":"https://github.com/aspnet/EntityFramework","description":"Microsoft's recommended data access technology for new applications in .NET.","fork":false,"url":"https://api.github.com/repos/aspnet/EntityFramework","forks_url":"https://api.github.com/repos/aspnet/EntityFramework/forks","keys_url":"https://api.github.com/repos/aspnet/EntityFramework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/EntityFramework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/EntityFramework/teams","hooks_url":"https://api.github.com/repos/aspnet/EntityFramework/hooks","issue_events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/EntityFramework/events","assignees_url":"https://api.github.com/repos/aspnet/EntityFramework/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/EntityFramework/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/EntityFramework/tags","blobs_url":"https://api.github.com/repos/aspnet/EntityFramework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/EntityFramework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/EntityFramework/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/EntityFramework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/EntityFramework/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/EntityFramework/languages","stargazers_url":"https://api.github.com/repos/aspnet/EntityFramework/stargazers","contributors_url":"https://api.github.com/repos/aspnet/EntityFramework/contributors","subscribers_url":"https://api.github.com/repos/aspnet/EntityFramework/subscribers","subscription_url":"https://api.github.com/repos/aspnet/EntityFramework/subscription","commits_url":"https://api.github.com/repos/aspnet/EntityFramework/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/EntityFramework/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/EntityFramework/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/EntityFramework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/EntityFramework/merges","archive_url":"https://api.github.com/repos/aspnet/EntityFramework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/EntityFramework/downloads","issues_url":"https://api.github.com/repos/aspnet/EntityFramework/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/EntityFramework/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/EntityFramework/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/EntityFramework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/EntityFramework/releases{/id}","created_at":"2014-01-23T00:52:01Z","updated_at":"2015-05-06T18:10:48Z","pushed_at":"2015-05-06T18:38:02Z","git_url":"git://github.com/aspnet/EntityFramework.git","ssh_url":"git@github.com:aspnet/EntityFramework.git","clone_url":"https://github.com/aspnet/EntityFramework.git","svn_url":"https://github.com/aspnet/EntityFramework","homepage":"","size":64802,"stargazers_count":1608,"watchers_count":1608,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":441,"mirror_url":null,"open_issues_count":394,"forks":441,"open_issues":394,"watchers":1608,"default_branch":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"d0ffc167730217decb6da333a791d7692e92bfae","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","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":16157746,"name":"EntityFramework","full_name":"aspnet/EntityFramework","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","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},"private":false,"html_url":"https://github.com/aspnet/EntityFramework","description":"Microsoft's recommended data access technology for new applications in .NET.","fork":false,"url":"https://api.github.com/repos/aspnet/EntityFramework","forks_url":"https://api.github.com/repos/aspnet/EntityFramework/forks","keys_url":"https://api.github.com/repos/aspnet/EntityFramework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/EntityFramework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/EntityFramework/teams","hooks_url":"https://api.github.com/repos/aspnet/EntityFramework/hooks","issue_events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/EntityFramework/events","assignees_url":"https://api.github.com/repos/aspnet/EntityFramework/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/EntityFramework/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/EntityFramework/tags","blobs_url":"https://api.github.com/repos/aspnet/EntityFramework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/EntityFramework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/EntityFramework/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/EntityFramework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/EntityFramework/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/EntityFramework/languages","stargazers_url":"https://api.github.com/repos/aspnet/EntityFramework/stargazers","contributors_url":"https://api.github.com/repos/aspnet/EntityFramework/contributors","subscribers_url":"https://api.github.com/repos/aspnet/EntityFramework/subscribers","subscription_url":"https://api.github.com/repos/aspnet/EntityFramework/subscription","commits_url":"https://api.github.com/repos/aspnet/EntityFramework/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/EntityFramework/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/EntityFramework/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/EntityFramework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/EntityFramework/merges","archive_url":"https://api.github.com/repos/aspnet/EntityFramework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/EntityFramework/downloads","issues_url":"https://api.github.com/repos/aspnet/EntityFramework/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/EntityFramework/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/EntityFramework/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/EntityFramework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/EntityFramework/releases{/id}","created_at":"2014-01-23T00:52:01Z","updated_at":"2015-05-06T18:10:48Z","pushed_at":"2015-05-06T18:38:02Z","git_url":"git://github.com/aspnet/EntityFramework.git","ssh_url":"git@github.com:aspnet/EntityFramework.git","clone_url":"https://github.com/aspnet/EntityFramework.git","svn_url":"https://github.com/aspnet/EntityFramework","homepage":"","size":64802,"stargazers_count":1608,"watchers_count":1608,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":441,"mirror_url":null,"open_issues_count":394,"forks":441,"open_issues":394,"watchers":1608,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2097"},"html":{"href":"https://github.com/aspnet/EntityFramework/pull/2097"},"issue":{"href":"https://api.github.com/repos/aspnet/EntityFramework/issues/2097"},"comments":{"href":"https://api.github.com/repos/aspnet/EntityFramework/issues/2097/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2097/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/EntityFramework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2097/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/EntityFramework/statuses/1267bb33329d8c3c29ccb85e364ac17c86eef47d"}}}}