I have a Document class that stores the data of this document as a byte array. I need to check the size of an array using LINQ to Entities.
I tried the following:
[long Linq query here...] o.Data.Length < 800000)
The problem is that I get the following exception:
In LINQ to Entities, the LINQ node type expression 'ArrayLength' is not supported.
Is there any other way to check the size of a byte array?
arrays c # linq linq-to-entities
E.Vaughan
source share