{"action":"opened","issue":{"url":"https://api.github.com/repos/MohammadYounes/OWIN-MixedAuth/issues/51","repository_url":"https://api.github.com/repos/MohammadYounes/OWIN-MixedAuth","labels_url":"https://api.github.com/repos/MohammadYounes/OWIN-MixedAuth/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/MohammadYounes/OWIN-MixedAuth/issues/51/comments","events_url":"https://api.github.com/repos/MohammadYounes/OWIN-MixedAuth/issues/51/events","html_url":"https://github.com/MohammadYounes/OWIN-MixedAuth/issues/51","id":178819647,"number":51,"title":"I got some problems with DatabaseFrist","user":{"login":"MyronJi","id":20621646,"avatar_url":"https://avatars.githubusercontent.com/u/20621646?v=3","gravatar_id":"","url":"https://api.github.com/users/MyronJi","html_url":"https://github.com/MyronJi","followers_url":"https://api.github.com/users/MyronJi/followers","following_url":"https://api.github.com/users/MyronJi/following{/other_user}","gists_url":"https://api.github.com/users/MyronJi/gists{/gist_id}","starred_url":"https://api.github.com/users/MyronJi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyronJi/subscriptions","organizations_url":"https://api.github.com/users/MyronJi/orgs","repos_url":"https://api.github.com/users/MyronJi/repos","events_url":"https://api.github.com/users/MyronJi/events{/privacy}","received_events_url":"https://api.github.com/users/MyronJi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-23T08:50:05Z","updated_at":"2016-09-23T08:50:05Z","closed_at":null,"body":"The sample perfect works very well.\r\nAnd I have a program that uses a database first, and now needs to be added to the authentication.\r\nBut when I change the connectionString to *.edmx.\r\nLike this:\r\n\r\n`<add name=\"DataFirstEntities\" connectionString=\"metadata=res://*/Models.Model1.csdl|res://*/Models.Model1.ssdl|res://*/Models.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.1.155;initial catalog=DataFirst;persist security info=True;user id=sa;password=sasa;MultipleActiveResultSets=True;App=EntityFramework&quot;\" providerName=\"System.Data.EntityClient\" />`\r\n\r\nAnd i change \"DefaultConnection\" in IdentityModels.cs to \"DataFirstEntities\" \r\n\r\nThen i got this error:\r\n`The entity type IdentityUserLogin is not part of the model for the current context.`\r\n\r\nCan you help me? @MohammadYounes \r\nThanks very much！"}}
{"actor":{"display_login":"MyronJi"}}