{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10980","repository_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore","labels_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10980/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10980/comments","events_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10980/events","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/10980","id":297544465,"number":10980,"title":"dotnet ef dbcontext scaffold treats multiple tables as single table ","user":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars3.githubusercontent.com/u/367554?v=4","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T18:11:02Z","updated_at":"2018-02-15T18:11:02Z","closed_at":null,"author_association":"NONE","body":"_From @radhikagadde on February 15, 2018 9:32_\n\n## Steps to reproduce\r\n\r\nI am trying to build EF Core 2.0 application and tried to use reverse engineering using command line.\r\n\r\nIf i specify single table, classes are generated, where as if i specify two tables separated by \",\" CLI teats as single table and error is thrown.\r\n\r\ndotnet ef dbcontext scaffold   \"server=xxxxxx:6000;uid=newton;pwd=xxxx;database=xxxxx\" \"Microsoft.EntityFrameworkCore\" -o Actual\\ModelzOS —schema NEWTON —framework netcoreapp2.0 -c RevEngContext -f -t REVORDERDETAILS,FILTEREDOUT\r\n\r\n<DotNetCliToolReference Include=\"Microsoft.EntityFrameworkCore.Tools.DotNet\" Version=\"2.0.0\" />\r\n<PackageReference Include=\"Microsoft.EntityFrameworkCore.Tools\" Version=\"2.0.0\" />\r\n<PackageReference Include=\"Microsoft.NET.Test.Sdk\" Version=\"15.0.0\" />\r\n<PackageReference Include=\"xunit\" Version=\"2.3.1\" />\r\n<DotNetCliToolReference Include=\"dotnet-xunit\" Version=\"2.3.1\" />\r\n<PackageReference Include=\"xunit.runner.visualstudio\" Version=\"2.3.1\" />\r\n\r\n\r\n## Expected  behavior\r\n\r\nshould generate model\r\n\r\n\r\n## Actual behavior\r\n\r\nERROR:\r\nUnable to find a schema in the database matching the selected schema NEWTON.\r\nUnable to find a table in the database matching the selected table REVORDERDETAILS,FILTEREDOUT.\r\n\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n.NET Command Line Tools (2.0.0)\r\n\r\nProduct Information:\r\n Version:            2.0.0\r\n Commit SHA-1 hash:  cdcd1928c9\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.14393\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n Base Path:   C:\\Program Files\\dotnet\\sdk\\2.0.0\\\r\n\r\nMicrosoft .NET Core Shared Framework Host\r\n\r\n  Version  : 2.0.0\r\n  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n\n_Copied from original issue: dotnet/cli#8621_"}}
{"actor":{"display_login":"livarcocc"}}