|
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="dbkeeper.net" type="DbKeeperNet.Engine.DbKeeperNetConfigurationSection,DbKeeperNet.Engine"/>
</configSections>
<dbkeeper.net loggingService="fx">
<updateScripts>
<add provider="asm" location="DbKeeperNet.ComplexDemo.DatabaseSetupPart1.xml,DbKeeperNet.ComplexDemo" />
<add provider="asm" location="DbKeeperNet.ComplexDemo.DatabaseSetupPart2.xml,DbKeeperNet.ComplexDemo" />
<add provider="disk" location="disk_update.xml" />
<add provider="asm" location="DbKeeperNet.ComplexDemo.Another.DatabaseSetupEx.xml,DbKeeperNet.ComplexDemo" />
</updateScripts>
<databaseServiceMappings>
<add connectString="default" databaseService="MsSql" />
<add connectString="mysql" databaseService="MySqlNet" />
<add connectString="pgsql" databaseService="PgSql" />
<add connectString="sqlite" databaseService="SQLite" />
</databaseServiceMappings>
</dbkeeper.net>
<connectionStrings>
<!-- <add name="default" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=dbkeepernet;User ID=dbkeepernet;Password=dbkeepernet" providerName="System.Data.SqlClient"/> -->
<add name="default" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename='|DataDirectory|\DbKeeperNetComplexDemo.mdf';Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/>
<add name="mysql"
connectionString="Server=192.168.56.101;Database=mytest;Uid=mytest;Pwd=mytest"
providerName="MySql.Data.MySqlClient" />
<add name="pgsql" connectionString="Server=192.168.56.101;Database=pgtestdb;User id=pgtest;password=pgtest" providerName="Npgsql"/>
<add name="sqlite" connectionString="Data source=sqllitecomplexdemo.db3" providerName="System.Data.SQLite"/>
</connectionStrings>
<system.diagnostics>
<!-- uncomment this for TraceSource class logger (fxts)-->
<!--
<sources>
<source name="DbKeeperNet" switchName="DbKeeperNet">
<listeners>
<add name="file" />
</listeners>
</source>
</sources>
<switches>
<add name="DbKeeperNet" value="Verbose"/>
</switches>
<sharedListeners>
<add name="file" initializeData="dbkeepernetts.log" type="System.Diagnostics.TextWriterTraceListener" />
</sharedListeners>
-->
<trace autoflush="true">
<!-- uncoment this for .NET Trace class logging (fx logger)-->
<listeners>
<add name="file" initializeData="dbkeepernet.log" type="System.Diagnostics.TextWriterTraceListener" />
</listeners>
</trace>
</system.diagnostics>
</configuration>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm software developer since 1996. I started with assembler on Intel 8051 CPUs, during years I was interested in C, C++, Sybase PowerBuilder, PHP, Sybase Anywhere Database, MSSQL server and multiplatform development.
Currently I'm developing in C++ and C# (this is my favorit and I spent some time with MCPD achievement). I'm also interested in design patterns.