{"action":"created","issue":{"url":"https://api.github.com/repos/linq2db/linq2db/issues/371","repository_url":"https://api.github.com/repos/linq2db/linq2db","labels_url":"https://api.github.com/repos/linq2db/linq2db/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/linq2db/linq2db/issues/371/comments","events_url":"https://api.github.com/repos/linq2db/linq2db/issues/371/events","html_url":"https://github.com/linq2db/linq2db/issues/371","id":154689116,"number":371,"title":"Exception convert LINQ to SQL","user":{"login":"FreeNickName","id":11013245,"avatar_url":"https://avatars.githubusercontent.com/u/11013245?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeNickName","html_url":"https://github.com/FreeNickName","followers_url":"https://api.github.com/users/FreeNickName/followers","following_url":"https://api.github.com/users/FreeNickName/following{/other_user}","gists_url":"https://api.github.com/users/FreeNickName/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeNickName/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeNickName/subscriptions","organizations_url":"https://api.github.com/users/FreeNickName/orgs","repos_url":"https://api.github.com/users/FreeNickName/repos","events_url":"https://api.github.com/users/FreeNickName/events{/privacy}","received_events_url":"https://api.github.com/users/FreeNickName/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-13T11:16:07Z","updated_at":"2016-05-13T11:37:56Z","closed_at":null,"body":"I'm using OData protocol over linq2db. OData works with IQueryable from linq2db. This problem occurs when OData layer try to resolve query which contains this pattern: `TraderName lt 'some text'`.\r\n[calltrace](https://drive.google.com/open?id=0B1wQRpLMiHo9LVJmNlQweGNVckE)\r\n\r\nIt works through the Entity Framework..\r\n[Example SQL generated EF](https://drive.google.com/open?id=0B1wQRpLMiHo9VmFTWHNULVFBTFE)\r\n\r\nVersion linq2db - 1.0.7.1"},"comment":{"url":"https://api.github.com/repos/linq2db/linq2db/issues/comments/219019933","html_url":"https://github.com/linq2db/linq2db/issues/371#issuecomment-219019933","issue_url":"https://api.github.com/repos/linq2db/linq2db/issues/371","id":219019933,"user":{"login":"FreeNickName","id":11013245,"avatar_url":"https://avatars.githubusercontent.com/u/11013245?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeNickName","html_url":"https://github.com/FreeNickName","followers_url":"https://api.github.com/users/FreeNickName/followers","following_url":"https://api.github.com/users/FreeNickName/following{/other_user}","gists_url":"https://api.github.com/users/FreeNickName/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeNickName/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeNickName/subscriptions","organizations_url":"https://api.github.com/users/FreeNickName/orgs","repos_url":"https://api.github.com/users/FreeNickName/repos","events_url":"https://api.github.com/users/FreeNickName/events{/privacy}","received_events_url":"https://api.github.com/users/FreeNickName/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T11:37:56Z","updated_at":"2016-05-13T11:37:56Z","body":"In version 1.0.7.4 the same problem - [calltrace](https://drive.google.com/open?id=0B1wQRpLMiHo9Qm0tcjZXSDRWeHc)"}}