Hi,
I have a problem and I don't know whether it could be solved or not...
The software I am writing needs to use a legacy database
(unfortunately). This database contains the following tables:
There is a table called Zaak_Administratie which contains all cases.
It has a recordnumber (the ID) and a ZaakNummer (casenumber) which
partially contains the ID, but is a string.
And there is a table which couples clients to the cases it is called:
Koppeling_Zaak_Cient and has the following fields: teller (ID),
ZaakNummer (casenumber, the string, not the ID), and some extra
information about clients.
The relation between these tables is done via the string and not by
the ID.
I have two objects:
class Zaak
{
public int ID {get; set;}
public string ZaakNummer { get; set; }
IList<ZaakClient> clients { get; set; }
...
}
class ZaakClient
{
int ID { get; set; }
string ZaakNummer { get; set; }
...
}
Is there a way to map the ZaakClient to the Zaak? Because as far as I
could find, the <bag> element is using the ID for mapping...
Greetings,
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---