I have a corner case where we need to manually/out of band set specific
entities as Clean or Dirty depending on the client type and back end
database (legacy issue, so can't change the rest of the programming model
either).
Instead of talking about it, I'll express the problem in terms of code
below. How can I go about completing it? I'm assuming it should be 1-2
lines each. Lets assume NH 3.3.3.x
private void MarkEntityClean(PostLoadEvent e)
{
// The entity for which is event is raised must be marked
clean
}
private void MarkEntityDirty(PostLoadEvent e)
{
// The entity for which is event is raised must be marked
dirty
}
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/groups/opt_out.