Skip to content

Commit

Permalink
#ZEXSM#fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEXSM committed Jun 27, 2020
1 parent a09e549 commit f071e4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ var builder = new ODataQueryBuilder<ODataInfoContainer>("http://mock/odata", new
var uri = builder
.For<ODataTypeEntity>(s => s.ODataType)
.ByList()
.Filter((s, f, o) => o.In(s.ODataKind.ODataCode.Code, new string[0]) or o.In(s.ODataKind.ODataCode.Code, null) && o.In(s.IdType, new[] { 123, 512 }))
.Filter((s, f, o) => o.In(s.ODataKind.ODataCode.Code, new string[0]) or o.In(s.ODataKind.ODataCode.Code, null)
&& f.Contains(s.ODataKind.ODataCode.Code, default(string))
&& o.In(s.IdType, new[] { 123, 512 }))
.ToUri()
```
> http://mock/odata/ODataType?$filter=IdType in (123,512)
Expand Down

0 comments on commit f071e4a

Please sign in to comment.