{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/1484","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/1484/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/1484/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/1484/events","html_url":"https://github.com/aspnet/EntityFramework/issues/1484","id":55692729,"number":1484,"title":"Migrations: Replace usage of BasicModelBuilder with direct calls to core metadata","user":{"login":"divega","id":1253414,"avatar_url":"https://avatars.githubusercontent.com/u/1253414?v=3","gravatar_id":"","url":"https://api.github.com/users/divega","html_url":"https://github.com/divega","followers_url":"https://api.github.com/users/divega/followers","following_url":"https://api.github.com/users/divega/following{/other_user}","gists_url":"https://api.github.com/users/divega/gists{/gist_id}","starred_url":"https://api.github.com/users/divega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divega/subscriptions","organizations_url":"https://api.github.com/users/divega/orgs","repos_url":"https://api.github.com/users/divega/repos","events_url":"https://api.github.com/users/divega/events{/privacy}","received_events_url":"https://api.github.com/users/divega/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/EntityFramework/labels/enhancement","name":"enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/aspnet/EntityFramework/labels/pri0","name":"pri0","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-27T23:45:12Z","updated_at":"2015-01-27T23:45:12Z","closed_at":null,"body":"Currently model snapshots get scaffolded as calls to BasicModelBuilder, but the latter is going away as described in #908.  \r\n\r\nAlthough most scenarios we originally envisioned for BasicModelBuilder can be handled by a \"regular\" ModelBuilder without the conventions, after discussing with @bricelam and @ajcvickers we agreed that the ModelBuilder API is not the best choice for model snapshots.\r\n\r\nInstead we would like to use direct calls to the core metadata API.  \r\n\r\nWe were considering a JSON representation of the model, described in #1355, but we believe that now should be moved to the backlog. "}}