Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

bigint/long overflow #29

Open
mjgpy3 opened this issue Jan 19, 2018 · 0 comments
Open

bigint/long overflow #29

mjgpy3 opened this issue Jan 19, 2018 · 0 comments

Comments

@mjgpy3
Copy link

mjgpy3 commented Jan 19, 2018

We have an ID column that is a bigint in SQL and a long in code. When we try to parse a query over the filter string it fails with an overflow exception if given values that are in the long range but above the int range.

For example

session.ODataQuery<OurEntityType>("$filter=Id eq 2147483647")

works fine, but

session.ODataQuery<OurEntityType>("$filter=Id eq 2147483648")

throws an overflow exception.

Thank you for the really nice library. If you have any questions about our setup, let me know :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant