The control should be shipping with a ForeignKeyValueConverter. It should automatically setup a mapping between the ForeignKey values in a database column and some other meaningful information.
There should at least two outputs:
- One for positioning (depending on some sort order)
- One for displaying meaningful data via the ForeignKey
This ValueConverter might be implemented using the already existing MappingValueConverter.
Comments: ** Comment from web user: Baula **
There should at least two outputs:
- One for positioning (depending on some sort order)
- One for displaying meaningful data via the ForeignKey
This ValueConverter might be implemented using the already existing MappingValueConverter.
Comments: ** Comment from web user: Baula **
Beginning with NetView v0.5.0, the MappingValueConverter has a method SetupFromData(). With that method, something similar to that function proposed above is available (refer to the TruckTerminalsSample).
It has to be discussed if that proposed ForeignKeyValueConverter should be a separate class (based on the MappingValueConverter) or if the MappingValueConverter should be extended to support the functions proposed above.