Say I have a nice domain model, using (constructor) DI where needed. Now I want to be able to persist this model, so I start adding infrastructure(Entity Framework) to do this. What happens now is that the persistence framework should be able to initialize your types using your IoC container.
Maybe this is possible, maybe not. Anyway, what I'm wondering now is; is it usual to use DI on you POCO classes at all? And if it is, how do I make Entity Framework use my favorite IoC container(in my case NInject) to construct my classes.