On 01/08/2014 14:30, pasquale wrote:
> I'm in a legacy context.
> I have an abstract unmapped class Az
I forgot to mention that I have workarounded the problem with an alias:
I haved mapped the composite-id of Sz as:
Table("(select *, KSz as KAz2 from TableSz)");
ComponentAsId(x => x.Id, pk =>
{
pk.Class<KAz>();
pk.Property(x => x.KAz1, m => m.Column("KAz1"));
pk.Property(x => x.KAz1, m => m.Column("KAz2"));
});
but I don't know if there is a better solution.
Thanks
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.