I'm using LLBLGen Pro 2.0.0.0 Final with adaptor and .NET 2.0/c# connecting to a SQL Server 2005 dB.
Within my application I would like a user to have the ability to select the database that they will connect to - best example is a customer who may have a development and production database.
To accomplish this I'd like to have a screen where the user enters the connection properties (ie. server name, user and password) and from this I would like them to choose the database to connect to from a list of the databases on the server.
So my question is can I retrieve a list of the databases on the server using LLBLGen Pro?
To do this via an adhoc query I could simply execute select [name] from sys.databases. I know that the designer filters out the master database so I can't create a project and entity for the system view and neither can I create my own view on the system view in my existing project as I need a list of databases before knowing which database relates to my project.
Any help or advice would be greatly appreciated.