I have image data stored in a database. In addition to the image data there are fields which include meta information (image_size, description, name, etc). I would like to return only the meta information for the image and not the actual image byte data itself. I am hoping that there is a way to return all fields EXCEPT FOR the image data without having to select each column individually into an anonymous object. I am using Entity Framework 5.0 and Code First, so no designers or EDMX's or anything.
I saw this post ... selecting-all-but-one-property-using-linq-entity-framework ... but the answer is focused on a solution using the designer and my code is all code first with no designer involved. Also when I did a search on "deferring" individual columns I am directed to a page on MS site that deals with deferring loading on the class instead of the individual fields, besides it says it's information is out of date (presumably 5.0 does it differently?).
Any help is, as always, rewarded with much appreciation and a ceremony of incense and chanting. Thanks!!