I'm using Entity Framework 6 (EF6) with C#. I'm trying to write a DB agnostic query to get all the databases names list.
For example:
with SQL Server exists something like
select * from master.sys.databases
WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb');
with MySQL
SHOW DATABASES
and so on with Postgres, Oracle, etc.
So the question is if EF6 offers a way to get this list independently by the specific database.