AVEVA Database .NET Public Interface

DbElementTypeComparer.AddSubKey Method (DbNounField, Boolean)

Add a further subkey to an existing ElementType comparer The subkey will be used to discriminate ElementTypes if (and only if) all previously defined subkeys have returned identical values for the two ElementTypes being compared

public void AddSubKey(
   DbNounField field,
   bool reversed
);

Parameters

field
The field to be used for discriminating comparisons
reversed
Whether to reverse comparison. If false (or omitted) comparison is 'less than', so sort order will be ascending. If true, comparison will be 'greater than' and sort order will be descending

See Also

DbElementTypeComparer Class | Aveva.Pdms.Database Namespace | DbElementTypeComparer.AddSubKey Overload List