Skip to content

Commit

Permalink
Removed clear tags since ConnectionString property is no longer suppo…
Browse files Browse the repository at this point in the history
…rted
  • Loading branch information
tparvi committed Oct 9, 2011
1 parent a383824 commit 93c86fc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions Examples/DependencyInjectionExample/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
</appSettings>

<connectionStrings>
<!--
We need to clear other connection strings which are inherited from machine.config
in order to use the ConnectionString property.
-->
<clear/>
<add name="MyDatabase" connectionString="Data Source=localhost;Initial Catalog=MyDb;User Id=username;Password=password;"/>
</connectionStrings>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
</appSettings>

<connectionStrings>
<clear/>
</connectionStrings>
</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@

</appSettings>

<connectionStrings>
<clear/>
<connectionStrings>
<add name="MyDatabase" connectionString="Data Source=localhost;Initial Catalog=MyDb;User Id=username;Password=password;"/>
</connectionStrings>
</configuration>

0 comments on commit 93c86fc

Please sign in to comment.