I’m using the .NET entity framework and I’ve got one entity containing a varbinary. Is there an easy way to get the size of the varbinary in the codebehind, efter it’s been
I know this question is old, but EF now supports this by using SqlFunctions.DataLength()
SqlFunctions.DataLength()