Ok, I've been through all available documentation regarding this topic, it seems to me that the only way to accomplish this is by creating Views that join the different tables that a persistent object refers to, putting a INSTEAD OF trigger to handle the updates to the view.
What I was looking for was a way to do the mappings on the client side, something like this:
[MapTo("Table1"), t1]
[MapTo("Table2"), t2]
public class myClass : XPObject {
[Persistent("name"), t1]
public string myName;
[Persistent("age"), t2]
public int myAge;
}
Or whatever, hope is clear enough what I'm asking. Any comments will be appreciated, thank you.