Returns the DataSource that the given TypeORM object belongs to, reading whichever of
the dataSource and connection properties the installed version of TypeORM provides. Where
an object carries both, dataSource is used, since connection is the deprecated alias.
Example
Parameters
DataSourceHolder