S
Simon Storr
I have a typed dataset table with a primary key (id) and another unique key
(name). Generating the dataset creates FindById for the primary key, but
won't create 'FindByName', even though name is unique (I had to hack the XML
to make the key unique by changing the xs:key tag to xs:unique). I've tried
tricking it into thinking that name is also a PK but it then only creates
FindByName! The only way I've found to do a find on name is a hack using the
DefaultView client side which is far from ideal ( Is it possible to have
multiple 'FindBy's generated for one table?
TIA!
Simon
(name). Generating the dataset creates FindById for the primary key, but
won't create 'FindByName', even though name is unique (I had to hack the XML
to make the key unique by changing the xs:key tag to xs:unique). I've tried
tricking it into thinking that name is also a PK but it then only creates
FindByName! The only way I've found to do a find on name is a hack using the
DefaultView client side which is far from ideal ( Is it possible to have
multiple 'FindBy's generated for one table?
TIA!
Simon