I’ve recently switched on directAccess
for my main app, which uses the multi tenant solution I described here.
Sadly, I’ve not found a way to pass my tenant data along with those queries, so the solution described in that post longer works. I’m not too sure what direction to take yet, but if anyone knows how to pass some context info along to these directAccess
calls, please let me know.
For those that don’t know what directAccess is, it allows you to make your db calls without going through the http/network layer. I’ve seen huge performance increases with another project, using this setting.