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
Try this:
var user = session.Load(1); session.Delete(user);
Load will create a proxy for the User object with the identifier set. I'm not sure if Delete will load the object from the database before deleting it and I'm unable to test it at the moment.
Load
Delete