DomainObjects Class Library

Query.AddSelectFields Method 

Adds to the set of fields whose values will be returned by a DataSet. Only add select fields if you are retrieving values in a DataSet via a call to FindDataSet.

public void AddSelectFields(
   IEnumerable<T> fieldsToSelect
);

Parameters

fieldsToSelect
The set of fields whose values will be returned by the DataSet when FindDataSet is invoked.

Example

See the following FindDataSet() unit test for a usage example.

See Also

Query Class | DomainObjects.Facade.Command Namespace