Assume I have this domain object...
public class SpansMultipleTables
{
public int CommonID {get; set;}
public string Table1Value {get; set;}
public int Table2Value {get; set;}
public float Table3Value {get; set;}
}
- The CommonID property maps to the "ID" column on all tables.
- The Table1Value property maps to the "Value" column in the table "Table1"
- The Table2Value property maps to the "Value" column in the table "Table2"
- The Table3Value property maps to the "Value" column in the table "Table3"
Using FluentNHibernate, how can I set up a map for this object that really doesn't have a central table as it's home?