DomainObjects Class Library

Query.AddSelectField Method 

Adds a field whose value 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 AddSelectField(
   Field fieldToSelect
);

Parameters

fieldToSelect
A field whose value 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