linq - Selecting columns in DataLoadOptions -


I am using DataLoadOptions to recover a user who revised the details of the customer,

  DataLoadOptions dlo = New DataLoadOptions (); Dlo.LoadWith & lt; Customers & gt; (C = & gt; c.ModifiedBy);  

However, I do not want the user ID and Firstname and all the columns only. Do you want to specify the column in the DataLoad option?

Tables: Customers FirstName, LastName, etc)

< P> I do not think there is any way to specify it with the column to load.

There is a way that allows you to limit the amount of data retrieved, but it is in reference to records.

If this is possible, then the system knows some way that a record was loaded with only a certain number of columns. When requested in the non-loaded column in the future, the link must only obtain these columns from the database. I do not think it's Linq enabled.


Comments