If you’re not populating it in OrmLiteCrudEvents.EventFilter
it’s not going to get populated.
Can you please show me how I would do that. Sorry to be a bother
container.AddSingleton<ICrudEvents>(c =>
new OrmLiteCrudEvents(c.Resolve<IDbConnectionFactory>()) {
EventFilter = (e, context) => {
e.RefId = context.Request.SessionAs<MyUserSession>().CompanyId;
return e;
}
});