Click or drag to resize

PicklistItemDiscrim Property

Gets the item's discriminator. The discriminator value is used to group PicklistItem objects in a particular Picklist into sets of values that are mutually exclusive. For example, you could have a Picklist of states in various countries where all of the states in a paricular country would have the same Discrim. Picklists configured in this manner can be used to support cascading comboboxes. In this case a Countries combobox could be used to populate the available values in a States combobox.

When used on a mapper IField the field's Discrim property must be set. The DISCRIM value should almost always be a field reference of the form "[field-key]" which tells the mapper that it should use the set of picklist values whose DISCRIM matches the value for that field in the current row. For the above states example, the DISCRIM setting for the states field would be something like [country].

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public string Discrim { get; }

Property Value

Type: String
See Also