{"action":"created","issue":{"url":"https://api.github.com/repos/linq2db/linq2db/issues/1172","repository_url":"https://api.github.com/repos/linq2db/linq2db","labels_url":"https://api.github.com/repos/linq2db/linq2db/issues/1172/labels{/name}","comments_url":"https://api.github.com/repos/linq2db/linq2db/issues/1172/comments","events_url":"https://api.github.com/repos/linq2db/linq2db/issues/1172/events","html_url":"https://github.com/linq2db/linq2db/issues/1172","id":328834663,"node_id":"MDU6SXNzdWUzMjg4MzQ2NjM=","number":1172,"title":"[Question] How to create where condition from dictionary of values?","user":{"login":"ifle","id":1140474,"node_id":"MDQ6VXNlcjExNDA0NzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1140474?v=4","gravatar_id":"","url":"https://api.github.com/users/ifle","html_url":"https://github.com/ifle","followers_url":"https://api.github.com/users/ifle/followers","following_url":"https://api.github.com/users/ifle/following{/other_user}","gists_url":"https://api.github.com/users/ifle/gists{/gist_id}","starred_url":"https://api.github.com/users/ifle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifle/subscriptions","organizations_url":"https://api.github.com/users/ifle/orgs","repos_url":"https://api.github.com/users/ifle/repos","events_url":"https://api.github.com/users/ifle/events{/privacy}","received_events_url":"https://api.github.com/users/ifle/received_events","type":"User","site_admin":false},"labels":[{"id":942461636,"node_id":"MDU6TGFiZWw5NDI0NjE2MzY=","url":"https://api.github.com/repos/linq2db/linq2db/labels/question","name":"question","color":"0ed300","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-06-03T14:46:15Z","updated_at":"2018-06-05T12:15:15Z","closed_at":null,"author_association":"NONE","body":"How to create where condition from dictionary of values?\r\nI have dictionary that contains values for where conditions\r\n```\r\nvar pkkeys = new Dictionary<string, object>\r\n{\r\n     { \"pkkey1\", \"value1\"  },\r\n     { \"pkkey2\", \"value2\"  }\r\n}\r\n```\r\n\r\nI need to create something like this\r\n\r\n```\r\ndb.GetTable<SomeTable>().Where(t => t.pkkey1 == \"value1\" && t.pkkey2 == \"value2\");\r\n\r\n```\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/linq2db/linq2db/issues/comments/394686816","html_url":"https://github.com/linq2db/linq2db/issues/1172#issuecomment-394686816","issue_url":"https://api.github.com/repos/linq2db/linq2db/issues/1172","id":394686816,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDY4NjgxNg==","user":{"login":"ifle","id":1140474,"node_id":"MDQ6VXNlcjExNDA0NzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1140474?v=4","gravatar_id":"","url":"https://api.github.com/users/ifle","html_url":"https://github.com/ifle","followers_url":"https://api.github.com/users/ifle/followers","following_url":"https://api.github.com/users/ifle/following{/other_user}","gists_url":"https://api.github.com/users/ifle/gists{/gist_id}","starred_url":"https://api.github.com/users/ifle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifle/subscriptions","organizations_url":"https://api.github.com/users/ifle/orgs","repos_url":"https://api.github.com/users/ifle/repos","events_url":"https://api.github.com/users/ifle/events{/privacy}","received_events_url":"https://api.github.com/users/ifle/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T12:15:15Z","updated_at":"2018-06-05T12:15:15Z","author_association":"NONE","body":"Your samples works perfect. My does not works"}}
{"actor":{"display_login":"ifle"}}