i have this mapping:
HasMany<ClassA>(ot => ot.AList)
.Table("XPTO")
.KeyColumn("IDXPTO")
.Component(m =>
{
m.Map(a=> a.X, "X");
m.Map(x=> x.Y, "Y");
})
.Cascade.AllDeleteOrphan();
i get an error saying that "refers to an unmapped class ClassA", but i shouldn't need to map it. i saw other examples in the internet with similar mappings and they don't have this problem...
if i create a classMap for class A only with ID, then its works, but the data model will have 1 unecessary table for classA with only the id, because property X and Y will be mapped on the table XPTO...