Creates a new connection and registers it in the manager. Only one connection from ormconfig will be created (name "default" or connection without name).
Creates a new connection from the ormconfig file with a given name.
Creates a new connection and registers it in the manager.
Creates a new connection and registers it in the manager. Only one connection from ormconfig will be created (name "default" or connection without name).