General information
Category:
The Mere Mortals .NET Framework
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only