Adding #if DOTNET35 for REST
[castle.git] / ActiveRecord / Castle.ActiveRecord.Tests / App-net-3.5.config
blob3d884dd9fd3b377ed8e5114d97203ae1e4231ed3
1 <?xml version="1.0" encoding="utf-8" ?>
3 <configuration>
5         <configSections>
6                 <section name="activerecord"
7                  type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" />
8                 <section name="activerecord-asp-net-2.0"
9                  type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" />
10                 <section name="log4net"
11                                  type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
12         </configSections>
13     <connectionStrings>
14         <add name="Test" 
15            connectionString="Test Connection String"/>
16     </connectionStrings>
18     <activerecord-asp-net-2.0>
19                 <config>
20                         <add key="hibernate.connection.connection_string" value="ConnectionString = ${Test}" />
21                 </config>
22         </activerecord-asp-net-2.0>
24         <activerecord default-lazy="false">
26                 <config>
27                         <add key="connection.driver_class" value="NHibernate.Driver.SqlClientDriver" />
28                         <add key="dialect"                 value="NHibernate.Dialect.MsSql2000Dialect" />
29                         <add key="connection.provider"     value="NHibernate.Connection.DriverConnectionProvider" />
30                         <add key="connection.connection_string" value="Data Source=.;Initial Catalog=Test;Integrated Security=True" />
31                 </config>
33                 <config type="Castle.ActiveRecord.Tests.Model.Test2ARBase, Castle.ActiveRecord.Tests">
34                         <add key="connection.driver_class" value="NHibernate.Driver.SqlClientDriver" />
35                         <add key="dialect"                 value="NHibernate.Dialect.MsSql2000Dialect" />
36                         <add key="connection.provider"     value="NHibernate.Connection.DriverConnectionProvider" />
37                         <add key="connection.connection_string" value="Data Source=.;Initial Catalog=Test2;Integrated Security=True" />
38                 </config>
40         </activerecord>
41         
42         <!-- This section contains the log4net configuration settings -->
43         <log4net debug="false">
45                 <appender name="console"
46                                   type="log4net.Appender.ConsoleAppender, log4net">
47                         <layout type="log4net.Layout.PatternLayout,log4net">
48                                 <param name="ConversionPattern"
49                                            value="%d{ABSOLUTE} %-5p %c{1}:%L - %m%n" />
50                         </layout>
51                 </appender>
53                 <root>
54                         <priority value="OFF" />
55                         <appender-ref ref="console" />
56                 </root>
58         </log4net>
60 </configuration>