The proper list to ask these questions is nhusers. In this case, if I
understand you correctly, you want to change the User to a different one,
but not update its properties, right? I think you can call
ISession.SetReadOnly on the User instance.
RP
On Monday, May 20, 2013 5:52:23 PM UTC+1, Matteo Migliore wrote:
>
> Hi,
>
> is possible to ignore the child properties during an update of the entity?
>
> I would update only the reference but not its properties.
>
> E.g.
> class Order
> {
> User User { get; set; }
> }
>
> When I update the Order I would change the User that placed it but not its
> properties (Name etc...)
>
> Thanks,
> Matteo
>
--
---
You received this message because you are subscribed to the Google Groups
"nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.