$filter=BinaryProp eq binary'010203'
doesn't work even if BinaryProp is new byte[] { 1, 2, 3 }.
This is due to the fact that the expression that we generate does a reference equals i.e it looks like
$it.BinaryProp == new Byte[] { 1. 2. 3 }
The exact same filter works fine with Linq2SQL and EF as they translate the equals expression to the right SQL.
Comments: http://aspnetwebstack.codeplex.com/SourceControl/changeset/ebde3ec91024
doesn't work even if BinaryProp is new byte[] { 1, 2, 3 }.
This is due to the fact that the expression that we generate does a reference equals i.e it looks like
$it.BinaryProp == new Byte[] { 1. 2. 3 }
The exact same filter works fine with Linq2SQL and EF as they translate the equals expression to the right SQL.
Comments: http://aspnetwebstack.codeplex.com/SourceControl/changeset/ebde3ec91024