{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2156","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2156/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2156/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2156/events","html_url":"https://github.com/aspnet/EntityFramework/issues/2156","id":74953477,"number":2156,"title":"No data stores are configured exception","user":{"login":"GuardRex","id":1622880,"avatar_url":"https://avatars.githubusercontent.com/u/1622880?v=3","gravatar_id":"","url":"https://api.github.com/users/GuardRex","html_url":"https://github.com/GuardRex","followers_url":"https://api.github.com/users/GuardRex/followers","following_url":"https://api.github.com/users/GuardRex/following{/other_user}","gists_url":"https://api.github.com/users/GuardRex/gists{/gist_id}","starred_url":"https://api.github.com/users/GuardRex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuardRex/subscriptions","organizations_url":"https://api.github.com/users/GuardRex/orgs","repos_url":"https://api.github.com/users/GuardRex/repos","events_url":"https://api.github.com/users/GuardRex/events{/privacy}","received_events_url":"https://api.github.com/users/GuardRex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"rowanmiller","id":4741851,"avatar_url":"https://avatars.githubusercontent.com/u/4741851?v=3","gravatar_id":"","url":"https://api.github.com/users/rowanmiller","html_url":"https://github.com/rowanmiller","followers_url":"https://api.github.com/users/rowanmiller/followers","following_url":"https://api.github.com/users/rowanmiller/following{/other_user}","gists_url":"https://api.github.com/users/rowanmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/rowanmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowanmiller/subscriptions","organizations_url":"https://api.github.com/users/rowanmiller/orgs","repos_url":"https://api.github.com/users/rowanmiller/repos","events_url":"https://api.github.com/users/rowanmiller/events{/privacy}","received_events_url":"https://api.github.com/users/rowanmiller/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aspnet/EntityFramework/milestones/8","html_url":"https://github.com/aspnet/EntityFramework/milestones/Investigation","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/milestones/8/labels","id":666133,"number":8,"title":"Investigation","description":"This release is used to track work items that need to be investigated to determine if they are legitimate issues and whether they should be fixed in the current release.\r\n<!--\r\n@huboard:{\"order\":-2}\r\n-->","creator":{"login":"rowanmiller","id":4741851,"avatar_url":"https://avatars.githubusercontent.com/u/4741851?v=3","gravatar_id":"","url":"https://api.github.com/users/rowanmiller","html_url":"https://github.com/rowanmiller","followers_url":"https://api.github.com/users/rowanmiller/followers","following_url":"https://api.github.com/users/rowanmiller/following{/other_user}","gists_url":"https://api.github.com/users/rowanmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/rowanmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowanmiller/subscriptions","organizations_url":"https://api.github.com/users/rowanmiller/orgs","repos_url":"https://api.github.com/users/rowanmiller/repos","events_url":"https://api.github.com/users/rowanmiller/events{/privacy}","received_events_url":"https://api.github.com/users/rowanmiller/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":15,"state":"open","created_at":"2014-05-21T19:27:44Z","updated_at":"2015-05-14T20:14:53Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-05-10T16:34:51Z","updated_at":"2015-05-14T20:14:53Z","closed_at":"2015-05-14T20:14:53Z","body":"Win7 x64\r\nDNX: dnx-coreclr-win-x64.1.0.0-beta5-11744\r\nEF: 7.0.0-beta5-13161\r\n```\r\nNo data stores are configured. Configure a data store by overriding OnConfiguring in your\r\nDbContext class or in the AddDbContext method when setting up services.\r\n```\r\n... so what have I done wrong here ...\r\n```\r\nservices.AddEntityFramework()\r\n    .AddSqlServer()\r\n    .AddDbContext<FirstDBContext>(options => options.UseSqlServer(@\"my_conn_string\"))\r\n    .AddDbContext<SecondDBContext>(options => options.UseSqlServer(@\"my_conn_string\"));\r\n```"}}