{"action":"created","issue":{"url":"https://api.github.com/repos/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/30","repository_url":"https://api.github.com/repos/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator","labels_url":"https://api.github.com/repos/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/30/comments","events_url":"https://api.github.com/repos/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/30/events","html_url":"https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/30","id":148097329,"number":30,"title":"Objects are getting an appended 1","user":{"login":"dyardyGIT","id":3586830,"avatar_url":"https://avatars.githubusercontent.com/u/3586830?v=3","gravatar_id":"","url":"https://api.github.com/users/dyardyGIT","html_url":"https://github.com/dyardyGIT","followers_url":"https://api.github.com/users/dyardyGIT/followers","following_url":"https://api.github.com/users/dyardyGIT/following{/other_user}","gists_url":"https://api.github.com/users/dyardyGIT/gists{/gist_id}","starred_url":"https://api.github.com/users/dyardyGIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyardyGIT/subscriptions","organizations_url":"https://api.github.com/users/dyardyGIT/orgs","repos_url":"https://api.github.com/users/dyardyGIT/repos","events_url":"https://api.github.com/users/dyardyGIT/events{/privacy}","received_events_url":"https://api.github.com/users/dyardyGIT/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-13T15:25:45Z","updated_at":"2016-05-25T20:37:12Z","closed_at":"2016-04-25T08:48:19Z","body":"I have a database with many tables in different schemas.\r\nI have 2 tables named workflow in 2 different schemas.\r\n\r\nThe generated code while using     SchemaFilterInclude = new Regex(\"sre\");; (not specifically naming the tables) I get objects that are Workflow1 instead of Workflow.\r\n\r\nI also tried specifying specific schema and while naming the table via TableFilterInclude - the resultant code still creates the object as Workflow1 insead of Workflow\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/comments/221699542","html_url":"https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/30#issuecomment-221699542","issue_url":"https://api.github.com/repos/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/30","id":221699542,"user":{"login":"dyardyGIT","id":3586830,"avatar_url":"https://avatars.githubusercontent.com/u/3586830?v=3","gravatar_id":"","url":"https://api.github.com/users/dyardyGIT","html_url":"https://github.com/dyardyGIT","followers_url":"https://api.github.com/users/dyardyGIT/followers","following_url":"https://api.github.com/users/dyardyGIT/following{/other_user}","gists_url":"https://api.github.com/users/dyardyGIT/gists{/gist_id}","starred_url":"https://api.github.com/users/dyardyGIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyardyGIT/subscriptions","organizations_url":"https://api.github.com/users/dyardyGIT/orgs","repos_url":"https://api.github.com/users/dyardyGIT/repos","events_url":"https://api.github.com/users/dyardyGIT/events{/privacy}","received_events_url":"https://api.github.com/users/dyardyGIT/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T20:37:12Z","updated_at":"2016-05-25T20:37:12Z","body":"I am using 2.19.3 just now and I had to explicitly exclude the other schemas otherwise generated classes would have 1 appended.\r\n\r\ni.e. \r\n    SchemaFilterExclude = new Regex(\"tele|sre|sdue\");\r\n    SchemaFilterInclude = new Regex(\"chc\");;\r\n\r\nI have a table called tele.UserRoles, sre.UserRoles, sdue.UserRoles and chc.UserRoles\r\n\r\nIf i used the following\r\n    //SchemaFilterExclude = new Regex(\"tele|sre|sdue\");\r\n    SchemaFilterExclude = null;\r\n    SchemaFilterInclude = new Regex(\"chc\");;\r\n    TableFilterExclude = null;    \r\n\r\nI get class names UserRole1.cs (likewise User1.cs)"}}
{"actor":{"display_login":"dyardyGIT"}}