c# - OData cast binary data before filtering -


so,

i trying use odata's filtering , greater operator on binary field. want field cast int64 before comparison, cant find way to.

the example request have come far :

http://urltocontroller?$select=__version&$orderby=__version &$filter=__version ge cast(binary'00000000000009fd', 'edm.int64') 

this throws incompatible types edm.binary , edm.int64 error.

what :

http://urltocontroller?$select=__version&$orderby=__version &$filter=cast(__version,'edm.int64') ge cast(binary'00000000000009fd', 'edm.int64') 

but throw error function cast not implemented.

any helps ? tried compare binary field on db if int?


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -