This project is read-only.
2
Vote

ForeignKeyValueConverter

description

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

Baula wrote Feb 23, 2013 at 6:33 AM

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.

wrote Mar 5, 2013 at 10:25 AM