开发者

Exclude a field from LinqToSql generated class item list

Is it possible to exclude a field from a collection of linq to sql generated class items.

A database table contains field of Image data type. The table has a lot of data inserted, so the programm dies when I try to receive all the items inserted. I need to have all the information except this field.

Sample code looks like:

arc_developDataContext _dataContext = new arc_developDataContext(connectionString);
_dataContext.a开发者_如何学编程rcs.OrderByDescending(a => a.arc_id)


Is this not what the 'Delay Loaded' property is for? See here for more information

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜