Last change
on this file since 4021 was
3970,
checked in by bfarka, 14 years ago
|
made Database configable with app.config in the Persistence Project --> 2 different DBs can be configured (one for UnitTesting and a real one) (#1063)
|
File size:
1.6 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <configuration>
|
---|
3 | <configSections>
|
---|
4 | <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
---|
5 | <section name="Persistence.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
---|
6 | </sectionGroup>
|
---|
7 | <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
---|
8 | <section name="Persistence.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
---|
9 | </sectionGroup>
|
---|
10 | </configSections>
|
---|
11 | <applicationSettings>
|
---|
12 | <Persistence.Properties.Settings>
|
---|
13 | <setting name="DatabaseConnectionString" serializeAs="String">
|
---|
14 | <value>Data Source=169.254.134.244;Initial Catalog=heuristiclab;User ID=sa;Password=gotRoot17344</value>
|
---|
15 | </setting>
|
---|
16 | </Persistence.Properties.Settings>
|
---|
17 | </applicationSettings>
|
---|
18 | <userSettings>
|
---|
19 | <Persistence.Properties.Settings>
|
---|
20 | <setting name="DatabaseConnectionStringTesting" serializeAs="String">
|
---|
21 | <value>c:\temp\HeuristicLabUnitTest.mdf</value>
|
---|
22 | </setting>
|
---|
23 | </Persistence.Properties.Settings>
|
---|
24 | </userSettings>
|
---|
25 | </configuration> |
---|
Note: See
TracBrowser
for help on using the repository browser.