My SQL 2008 table, let's call it tblDocument, has columns like name, creator, sequenceNumber, followed by a "DocumentContent" varbinary(max) column that contains the document itself.
I'm using LINQ to SQL. If I want to display the rows of tblDocument in an interface without retrieving a multi-megabyte binary over the wire for each row, what's the best way to accomplish that? Is there a way to do this so that the filestream doesn't get accessed until I read from the property, or something like that?
Thanks!