Linq to SQL load few columns from table

SubhaMuralidharanSubhaMuralidharan USMember ✭✭
edited November 2013 in General


How to load specific columns from database into memory? Basically i don't want to load entire table from database, where i am need of only specific columns.

Example: In Task table there may be Id, Details, CreatedOn, UpdatedOn

But i need only Id & Details. Hence i don't want to load entire Task table from Db, i want to load only those properties i need.


Sign In or Register to comment.