I\'m trying to query a varbinary
column that contain a file (1,2 Gb).
I\'m using Entity Framework. See below:
Database to test
C
It appears Entity Framework doesn't support streaming the data to a varbinary field.
You have a couple of options.
Edit:
Assuming you're using .NET 4.5, you should use SqlDataReader.GetStream
. This will allow streaming the file without having to load the whole thing into memory.