{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/SQLProvider/issues/362","repository_url":"https://api.github.com/repos/fsprojects/SQLProvider","labels_url":"https://api.github.com/repos/fsprojects/SQLProvider/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/SQLProvider/issues/362/comments","events_url":"https://api.github.com/repos/fsprojects/SQLProvider/issues/362/events","html_url":"https://github.com/fsprojects/SQLProvider/issues/362","id":193534948,"number":362,"title":"List of columns, or hasColumn?","user":{"login":"Thorium","id":229355,"avatar_url":"https://avatars.githubusercontent.com/u/229355?v=3","gravatar_id":"","url":"https://api.github.com/users/Thorium","html_url":"https://github.com/Thorium","followers_url":"https://api.github.com/users/Thorium/followers","following_url":"https://api.github.com/users/Thorium/following{/other_user}","gists_url":"https://api.github.com/users/Thorium/gists{/gist_id}","starred_url":"https://api.github.com/users/Thorium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thorium/subscriptions","organizations_url":"https://api.github.com/users/Thorium/orgs","repos_url":"https://api.github.com/users/Thorium/repos","events_url":"https://api.github.com/users/Thorium/events{/privacy}","received_events_url":"https://api.github.com/users/Thorium/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-05T15:53:16Z","updated_at":"2016-12-06T17:05:40Z","closed_at":"2016-12-06T17:05:40Z","body":"Just a silly question:\r\nThere is a nice option to add dynamic data of `[string*obj]` or `entity.SetColumn()`. Now I have a table with huge amount of columns. How can I know if column exists?\r\n\r\nThis is what I would like to do:\r\n\r\n```fsharp\r\n[\"Brand\", \"Saab\"; \"Year\", \"1990\"; \"JustSkipThis\", 1]\r\n|> Array.filter (fun (key, value) -> entity.HasColum(key))\r\n|> Array.iter (entity.SetColumn) // only if exists\r\n```\r\n\r\nThere is no `entity.HasColumn()`. I can't use reflection as types are erased. Is there currently any way to do this?\r\n\r\nNow it just accepts the input and fails on context saving changes.\r\n"},"comment":{"url":"https://api.github.com/repos/fsprojects/SQLProvider/issues/comments/265208134","html_url":"https://github.com/fsprojects/SQLProvider/issues/362#issuecomment-265208134","issue_url":"https://api.github.com/repos/fsprojects/SQLProvider/issues/362","id":265208134,"user":{"login":"Thorium","id":229355,"avatar_url":"https://avatars.githubusercontent.com/u/229355?v=3","gravatar_id":"","url":"https://api.github.com/users/Thorium","html_url":"https://github.com/Thorium","followers_url":"https://api.github.com/users/Thorium/followers","following_url":"https://api.github.com/users/Thorium/following{/other_user}","gists_url":"https://api.github.com/users/Thorium/gists{/gist_id}","starred_url":"https://api.github.com/users/Thorium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thorium/subscriptions","organizations_url":"https://api.github.com/users/Thorium/orgs","repos_url":"https://api.github.com/users/Thorium/repos","events_url":"https://api.github.com/users/Thorium/events{/privacy}","received_events_url":"https://api.github.com/users/Thorium/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T17:05:40Z","updated_at":"2016-12-06T17:05:40Z","body":"Fixed in commit cc172dfd31f41671c2f8de0e202f661f091db11e\r\n"}}
{"actor":{"display_login":"Thorium"}}