Dependency Injection in ORM connection