{"action":"created","issue":{"url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/421","labels_url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/421/comments","events_url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/421/events","html_url":"https://github.com/TrevorPilley/MicroLite/issues/421","id":117566030,"number":421,"title":"Convention Based Mappings","user":{"login":"mixerp","id":5273383,"avatar_url":"https://avatars.githubusercontent.com/u/5273383?v=3","gravatar_id":"","url":"https://api.github.com/users/mixerp","html_url":"https://github.com/mixerp","followers_url":"https://api.github.com/users/mixerp/followers","following_url":"https://api.github.com/users/mixerp/following{/other_user}","gists_url":"https://api.github.com/users/mixerp/gists{/gist_id}","starred_url":"https://api.github.com/users/mixerp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixerp/subscriptions","organizations_url":"https://api.github.com/users/mixerp/orgs","repos_url":"https://api.github.com/users/mixerp/repos","events_url":"https://api.github.com/users/mixerp/events{/privacy}","received_events_url":"https://api.github.com/users/mixerp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TrevorPilley/MicroLite/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"TrevorPilley","id":1454073,"avatar_url":"https://avatars.githubusercontent.com/u/1454073?v=3","gravatar_id":"","url":"https://api.github.com/users/TrevorPilley","html_url":"https://github.com/TrevorPilley","followers_url":"https://api.github.com/users/TrevorPilley/followers","following_url":"https://api.github.com/users/TrevorPilley/following{/other_user}","gists_url":"https://api.github.com/users/TrevorPilley/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorPilley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorPilley/subscriptions","organizations_url":"https://api.github.com/users/TrevorPilley/orgs","repos_url":"https://api.github.com/users/TrevorPilley/repos","events_url":"https://api.github.com/users/TrevorPilley/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorPilley/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-18T11:18:49Z","updated_at":"2015-11-18T12:39:10Z","closed_at":"2015-11-18T12:37:30Z","body":"Thank you for this beautiful framework. This looks really good and deserves much more attention.\r\n\r\nI am aware that Microlite allows attribute-based mappings like an ORM. But, how can we use convention-based mapping for database identifiers which are:\r\n\r\n- plural table names (POCO class would be created singular),\r\n- database identifiers (tables, views, columns, functions) use `underscore_case` (POCO class and properties would be in `PascalCase`)\r\n\r\nThe motivation behind the convention-based mapping is to have clean DTO/POCO classes.\r\n\r\nIf Microlite supports this idea, could you please create a minimal documentation to show how we can achieve that? Any advice on this would be highly appreciated.\r\n\r\nThank you once again."},"comment":{"url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/comments/157698816","html_url":"https://github.com/TrevorPilley/MicroLite/issues/421#issuecomment-157698816","issue_url":"https://api.github.com/repos/TrevorPilley/MicroLite/issues/421","id":157698816,"user":{"login":"TrevorPilley","id":1454073,"avatar_url":"https://avatars.githubusercontent.com/u/1454073?v=3","gravatar_id":"","url":"https://api.github.com/users/TrevorPilley","html_url":"https://github.com/TrevorPilley","followers_url":"https://api.github.com/users/TrevorPilley/followers","following_url":"https://api.github.com/users/TrevorPilley/following{/other_user}","gists_url":"https://api.github.com/users/TrevorPilley/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorPilley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorPilley/subscriptions","organizations_url":"https://api.github.com/users/TrevorPilley/orgs","repos_url":"https://api.github.com/users/TrevorPilley/repos","events_url":"https://api.github.com/users/TrevorPilley/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorPilley/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T12:39:10Z","updated_at":"2015-11-18T12:39:10Z","body":"Feel free to update the wiki or even write a blog post for the MicroLite blog if you like?"}}