Hi,
What’s the easiest way of clearing a table off all its records using NHibernate?
Any help appreciated.
Cheers
Sean.
HQL, I'm afraid -
session.CreateQuery("delete from Entity").ExecuteUpdate();
/Pete
--
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 nhusers+u...@googlegroups.com.
To post to this group, send email to nhu...@googlegroups.com.
Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.