{"action":"created","issue":{"url":"https://api.github.com/repos/jonwagner/Insight.Database.Schema/issues/39","labels_url":"https://api.github.com/repos/jonwagner/Insight.Database.Schema/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/jonwagner/Insight.Database.Schema/issues/39/comments","events_url":"https://api.github.com/repos/jonwagner/Insight.Database.Schema/issues/39/events","html_url":"https://github.com/jonwagner/Insight.Database.Schema/issues/39","id":56585102,"number":39,"title":"AUTOPROC ArgumentException: \"Can only rename an autoproc if generating one at a time.\"","user":{"login":"jeroenbu","id":10851247,"avatar_url":"https://avatars.githubusercontent.com/u/10851247?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenbu","html_url":"https://github.com/jeroenbu","followers_url":"https://api.github.com/users/jeroenbu/followers","following_url":"https://api.github.com/users/jeroenbu/following{/other_user}","gists_url":"https://api.github.com/users/jeroenbu/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenbu/subscriptions","organizations_url":"https://api.github.com/users/jeroenbu/orgs","repos_url":"https://api.github.com/users/jeroenbu/repos","events_url":"https://api.github.com/users/jeroenbu/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenbu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-04T20:48:29Z","updated_at":"2015-02-05T10:22:57Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to execute this line:\r\n```\r\nAUTOPROC All Gebruikers Name={2}{0} Single=Gebruiker Plural=Gebruikers\r\n```\r\nIf I understand the [documentation] (https://github.com/jonwagner/Insight.Database.Schema/wiki/AutoProcs) correctly, this should work: I can use the All keyword with the Name keyword.\r\nThe sourcecode however seems to suggest that only one _type can be set at a time. Am I doing something wrong?\r\n\r\nThx,\r\n\r\nJeroen"},"comment":{"url":"https://api.github.com/repos/jonwagner/Insight.Database.Schema/issues/comments/73024339","html_url":"https://github.com/jonwagner/Insight.Database.Schema/issues/39#issuecomment-73024339","issue_url":"https://api.github.com/repos/jonwagner/Insight.Database.Schema/issues/39","id":73024339,"user":{"login":"jeroenbu","id":10851247,"avatar_url":"https://avatars.githubusercontent.com/u/10851247?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenbu","html_url":"https://github.com/jeroenbu","followers_url":"https://api.github.com/users/jeroenbu/followers","following_url":"https://api.github.com/users/jeroenbu/following{/other_user}","gists_url":"https://api.github.com/users/jeroenbu/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenbu/subscriptions","organizations_url":"https://api.github.com/users/jeroenbu/orgs","repos_url":"https://api.github.com/users/jeroenbu/repos","events_url":"https://api.github.com/users/jeroenbu/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenbu/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T10:22:57Z","updated_at":"2015-02-05T10:22:57Z","body":"Actually, I tried that.\r\n\r\n1. when I delete all autoproc objects (table Insight_SchemaRegistry, generated procs, generated datatypes), and I try to have \r\n```\r\nAUTOPROC All Gebruikers Name={2}_{0} Single=Gebruiker Plural=Gebruikers\r\n```\r\nexecuted, it gives me the error.\r\n2. when i first execute the AUTOPROC command without the Name-keyword, then delete the autoprocs and the autoproc record from the SchemaRegistry, then add Name={2}_{0} in the AUTOPROC command, I get the error again when trying to execute the command.\r\n\r\nAnd, if I read the sourcecode correctly, it checks if more than one type of autoproc is being (re)generated, and it will throw the error if that is the case.\r\n"}}