Hi all,
i have the following class :
Code:
public class KeyValue {
public string key;
public string value;
}
I have a webservice whith several methods which returns an array of KeyValue object.
For each of this method, the meaning is different. For example, a method returns postal code/city code as key/value, another date/public holiday, etc...
So in my code I always get KeyValue object but I need to store them in different table according to the method which is called.
Is there a way to define several mapping for a same class ?
if yes how to define this in the mapping file and use it in the code please ?
Thanks in advance for your feedback
Regards,
Christophe