Base solution for your next web application

Activities of "balikpinoy"

I also encountered this issue while trying to use fullCalendar in my app. You have to upgrade to version .7x and newer and add [DONTWRAPRESULT] in your controller action. I wish these transformations would be off by default.

Answer

Adding hte Virtual directive worked! And now the tenantid is getting filtered correctly.

Thanks!

Answer

Thanks! I'll try the virtual on the method.

Answer

Yes..I did implement the IMusthaveTenant Attributes. As you can see from my example, the filter works for simple queries against one table but not for multiple tables.

I was able to get around it by creating an application service and disabling the filter thru the CurrentUnitOfWork interface.

I do have another question as to how to access the CurrentUnitOfWork within my controllers? I've added the attribute to my method and did the correct injection for _unitofworkmanager...but _unitofworkmanager.current always comes up as null.

Thanks!

I'm also interested in more details on how to implement this. I've looked at the sample project but do not see how users or roles can be given rights to specific permissions settings.

Thanks!

Showing 1 to 5 of 5 entries