You could always new up a specific implementation of EfRepository yourself and pass in the DbContext that you want to use, or create some sort of factory that does that for you.
But are you asking how to do it while doing dependency injection of IRepository and the config files to control what type of implementation gets passed in and specifically what DbContext gets loaded into each?
Jeff
Yes jeff thankyou for writing me spontaneously.. If you just show me some hint to do it.
Hamza