I have been looking for a solution to multi-tenancy around EF. I want to use a single table and single schema (Row Isolation with a TenantID on all tables).
I don't really want to wrap EF (as suggested in the answer of this post Entity Framework for Multi-tenant architecture - filterings single table by tenant ID) as this will make it very difficult to access all the goodies in EF.
After some research I started looking at Dependency Injection and specifically Autofac, but can't seem to get it off the ground (or maybe just don't quite understand IoC as well as I think I do).
Is what I'm trying to do achievable? Could DI solve my problem?