Hello,
Is it possible to bind two comboboxes to one table with composite primary key?
Suppose one has a table MyTable with two fields (int Level, varchar2 Code) which forms composite primary key.
The corresponding entity is
public
class
MyTable
{
public
MyEnum Level {
get
;
set
;}
public
string
Code {
get
;
set
;}
}
where MyEnum is some enum.
I would like to bind two comboboxes to the list of such entities so that one combobox shows list of available items of MyEnum,
and the other one list of codes corresponding to the selected Level. Is it possible?
Thanks in advance.
Yours faithfully,
Mikhail.