0
|
1 <?xml version="1.0"?>
|
|
2 <configuration>
|
|
3 <configSections>
|
|
4 <section name="bltoolkit" type="BLToolkit.Configuration.BLToolkitSection, BLToolkit.4"/>
|
|
5 </configSections>
|
|
6 <appSettings>
|
|
7 <!-- Default configuration -->
|
|
8 <add key="ConnectionString" value="Server=.;Database=BLToolkitData;Integrated Security=SSPI"/>
|
|
9 <!-- SQL Server Development configuration -->
|
|
10 <add key="ConnectionString.Development" value="Server=.;Database=BLToolkitData;Integrated Security=SSPI"/>
|
|
11 <!-- SQL Server Production configuration -->
|
|
12 <add key="ConnectionString.Production" value="Server=.;Database=BLToolkitData;Integrated Security=SSPI"/>
|
|
13 <!-- SQL Server configuration -->
|
|
14 <add key="ConnectionString.Sql" value="Server=.;Database=BLToolkitData;Integrated Security=SSPI"/>
|
|
15 <!-- Oracle configuration -->
|
|
16 <add key="ConnectionString.Oracle" value="User Id=/;Data Source=BLToolkitData"/>
|
|
17 <!-- OLEDB configuration -->
|
|
18 <add key="ConnectionString.OleDb" value="Provider=SQLOLEDB;Data Source=.;Integrated Security=SSPI;Initial Catalog=BLToolkitData"/>
|
|
19 <!-- OLEDB Development configuration -->
|
|
20 <add key="ConnectionString.OleDb.Development" value="Provider=SQLOLEDB;Data Source=.;Integrated Security=SSPI;Initial Catalog=BLToolkitData"/>
|
|
21 <!-- OLEDB Production configuration -->
|
|
22 <add key="ConnectionString.OleDb.Production" value="Provider=SQLOLEDB;Data Source=.;Integrated Security=SSPI;Initial Catalog=BLToolkitData"/>
|
|
23 <!-- MySql configuration -->
|
|
24 <add key="ConnectionString.MySql" value="Server=DBHost;Port=3306;Database=bltoolkitdata;Uid=root;Pwd=TestPassword;"/>
|
|
25 <!-- Additional data providers -->
|
|
26 <add key="BLToolkit.DataProviders" value="BLToolkit.Data.DataProvider.MySqlDataProvider, BLToolkit.Data.DataProvider.MySql.4"/>
|
|
27 <add key="BLToolkit.DataProviders" value="BLToolkit.Data.DataProvider.OdpDataProvider, BLToolkit.Data.DataProvider.Oracle.4"/>
|
|
28
|
|
29 <!-- Samples
|
|
30 <add
|
|
31 key = "BLToolkit.DataProviders"
|
|
32 value = "BLToolkit.Data.DataProvider.OracleDataProvider;SomeNamespace.SomeType, SomeAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1234567890ABCDEF"/>
|
|
33 <add
|
|
34 key = "BLToolkit.DefaultConfiguration"
|
|
35 value = "Oracle"/>
|
|
36 -->
|
|
37 </appSettings>
|
|
38 <bltoolkit>
|
|
39 <typeFactory saveTypes="true"/>
|
|
40 </bltoolkit>
|
|
41 <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|