NH has a version field already built in, see the reference docs.

-Markus

2009/4/10 Kris-I <[email protected]>

> Hello,
>
> I expose the situation. I have a Winform application, I get a IList binded
> to my UI.
> I do some modification and I save. The save can be do seconds, minutes,
> ...later
>
> How can I manage that with NH ?
>
> My idea was :
> Before my save, I do a get for the record changed in my UI, I compare the a
> "Version" field if it's the same, I save if not I don't save + warning
> message.
>
> A better proposition is welcome :)
>
> Thanks,
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to