Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the name of the databaseSets
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01388393
Message ID:
01388639
Views:
38
>In the developer's guide, there is a section called "Specifying Database Sets in the Config File" and it includes the example below:
>
>databaseSets
> add key="CustA" value="Customer A (SQL Server)"
> add key="CustB" value="Customer B (Visual FoxPro)"
>databaseSets
>
>databases
> add key="CustA\Northwind\Connection" value="server=(local);uid=sa;pwd=;database=NorthWind;"
> add key="CustA\Northwind\DataAccessClass" value="DataAccessSql"
> add key="CustB\Northwind\Connection" value="Provider=vfpoledb.1;Data Source=C:\Mere Mortals .NET Framework\Samples\Mere Mortals Framework Northwind Sample Application\VFPData\Northwind.dbc"
> add key="CustB\Northwind\DataAccessClass" value="DataAccessOleDb"
>databases
>
>There is a method called GetDatabaseNames() that returns the information in the (databases) section, but I can not find a method to retrieve the information in the (databaseSets) section. Is there a way to get the value "Customer A (SQL Server" for CustA or the value "Customer B (Visual FoxPro)" for CustB? Thanks in advance for any ideas.
>

I am not a MM user so this is just a guess, but try searching through the source code for "factory."
Previous
Reply
Map
View

Click here to load this message in the networking platform