How do I delete an object without fetching it from the db first?
In another ORM, I can do this:
session.Delete(1); // 1 = PK
Check out the ExecuteUpdate method on the IQuery object.
IQuery q = session.CreateQuery ("delete from User where Id = 1"); q.ExecuteUpdate();
Should delete the object without retrieving it afaik.