I have a entity Project like this:

class Project {
 long id { get; set; }
 long id_parent { get; set; }
 long name { get; set; }
}

how can I update the name of all Projects where id_parent = 1 with
DetachedCriteria

Ps.: with only 1 sql example: update tb_project set name='hello' where
id_parent = 1

AR with NH 2.0
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to