but when the Save
is invoked, it’s only a set, because when I debug line by line, and I pass the Save
method as
var nhSession = GetCurrentSessionFn(sessionFactory);
nhSession.Save(new CustomUserAuthNHibernate(newUser));
I still have no data in the database, so I’m assuming there’s a wait, and only when the session is about to be closed, the transaction is commit.
only when the action is complete I have data in the database… not even in the AuthUserSession.OnRegistered
I have data in the db… hence the issue on passing data into the Repository
and yes I always get the same object when using /register
:
I would love to have it filled up with custom data, hence my other question