{"action":"created","issue":{"url":"https://api.github.com/repos/Jagged/InRam/issues/6","labels_url":"https://api.github.com/repos/Jagged/InRam/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Jagged/InRam/issues/6/comments","events_url":"https://api.github.com/repos/Jagged/InRam/issues/6/events","html_url":"https://github.com/Jagged/InRam/issues/6","id":107386321,"number":6,"title":"Support InversePropertyAttribute to indicate Id to use in related table","user":{"login":"Jagged","id":1514938,"avatar_url":"https://avatars.githubusercontent.com/u/1514938?v=3","gravatar_id":"","url":"https://api.github.com/users/Jagged","html_url":"https://github.com/Jagged","followers_url":"https://api.github.com/users/Jagged/followers","following_url":"https://api.github.com/users/Jagged/following{/other_user}","gists_url":"https://api.github.com/users/Jagged/gists{/gist_id}","starred_url":"https://api.github.com/users/Jagged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jagged/subscriptions","organizations_url":"https://api.github.com/users/Jagged/orgs","repos_url":"https://api.github.com/users/Jagged/repos","events_url":"https://api.github.com/users/Jagged/events{/privacy}","received_events_url":"https://api.github.com/users/Jagged/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Jagged/InRam/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-20T10:34:57Z","updated_at":"2015-10-03T08:47:16Z","closed_at":"2015-10-03T08:47:16Z","body":"See http://www.entityframeworktutorial.net/code-first/inverseproperty-dataannotations-attribute-in-code-first.aspx\r\n\r\n```C#\r\npublic class Student\r\n    {\r\n        public Student()\r\n        { \r\n        \r\n        }\r\n        public int StudentID { get; set; }\r\n        public string StudentName { get; set; }\r\n        \r\n        public Standard CurrentStandard { get; set; }\r\n        public Standard PreviousStandard { get; set; }\r\n    }\r\n\r\n    public class Standard\r\n    {\r\n        public Standard()\r\n        { \r\n        \r\n        }\r\n        public int StandardId { get; set; }\r\n        public string StandardName { get; set; }\r\n    \r\n        [InverseProperty(\"CurrentStandard\")]\r\n        public ICollection<Student> CurrentStudents { get; set; }\r\n        \r\n        [InverseProperty(\"PreviousStandard\")]\r\n            public ICollection<Student> PreviousStudents { get; set; }\r\n   \r\n     }\r\n```"},"comment":{"url":"https://api.github.com/repos/Jagged/InRam/issues/comments/145220115","html_url":"https://github.com/Jagged/InRam/issues/6#issuecomment-145220115","issue_url":"https://api.github.com/repos/Jagged/InRam/issues/6","id":145220115,"user":{"login":"Jagged","id":1514938,"avatar_url":"https://avatars.githubusercontent.com/u/1514938?v=3","gravatar_id":"","url":"https://api.github.com/users/Jagged","html_url":"https://github.com/Jagged","followers_url":"https://api.github.com/users/Jagged/followers","following_url":"https://api.github.com/users/Jagged/following{/other_user}","gists_url":"https://api.github.com/users/Jagged/gists{/gist_id}","starred_url":"https://api.github.com/users/Jagged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jagged/subscriptions","organizations_url":"https://api.github.com/users/Jagged/orgs","repos_url":"https://api.github.com/users/Jagged/repos","events_url":"https://api.github.com/users/Jagged/events{/privacy}","received_events_url":"https://api.github.com/users/Jagged/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T08:47:16Z","updated_at":"2015-10-03T08:47:16Z","body":"Working now"}}