/// <summary>Defines an event class for the dirty-checking of a session.
</summary>

The DirtyCheckEvent is to know is the UoW is dirty.

What you are looking for is FlushEntityEvent and override of DirtyCheck
method.

NOTE: DirtyCheck don't mean only True/False

2009/3/16 mhnyborg <[email protected]>

>
> The PostLoadEvent has an entity as an property, but the OnDirtyCheck
> has Session and IsDirty.
>
> What is the purpose of this event? I have implemented dirty tracking
> and IsNew, IsDeleted on the entites and I am using them in a
> Silverlight app.
>
> I just want to tell NH which object to save, update and delete - Can I
> do this with the OnDirtyCheck event?
>
>
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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