Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <Gentle.Framework>
- <!-- See the API documentation for the Gentle.Framework.GentleSettings class for
- detailed information on the keys available in the Options section -->
- <Options>
- <!-- the default timeout value in seconds for IDbCommand instances created by Gentle -->
- <CommandTimeout>30</CommandTimeout>
- <!-- whether to enable support for Gentle-managed concurrency control columns -->
- <ConcurrencyControl>false</ConcurrencyControl>
- <!-- options: Attributes or XML (XML currently unused) -->
- <MasterDefinition>Attributes</MasterDefinition>
- <Analyzer>
- <!-- options: None, OnDemand (the default), Full -->
- <Level>OnDemand</Level>
- <!-- whether to warn about unmapped columns and other non-fatal errors -->
- <Silent>false</Silent>
- </Analyzer>
- <Cache>
- <!-- default cache strategy (use only Never or Temporary) -->
- <DefaultStrategy>Temporary</DefaultStrategy>
- <CacheStatements>true</CacheStatements>
- <CacheObjects>true</CacheObjects>
- <!-- when true Gentle will try to bypass query execution and compose
- the result from cached data alone -->
- <SkipQueryExecution>true</SkipQueryExecution>
- <!-- the scope within which to ensure uniqing
- options: Thread (default), Application or WebSession -->
- <UniqingScope>Application</UniqingScope>
- </Cache>
- <Logging>
- <!-- This setting controls the lowest log level emitted. See the
- Verbosity enum for details on the available values. -->
- <Verbosity>Warning</Verbosity>
- <!-- Do not edit this unless you know what you're doing. This setting
- controls at what level error conditions are considered fatal. -->
- <Frailty>Warning</Frailty>
- <!-- Use values defined in the LogCategories enum to turn logging on/off
- for selected categories. The available values include:
- All (all categories)
- StatementExecutionRead (select statements)
- StatementExecutionWrite (insert/update/delete statements)
- StatementExecutionOther (any other kind of statement)
- StatementExecution (any kind of statement; same as all three groups above)
- Cache (cache accesses)
- Metadata (metadata updates)
- General (everything else) -->
- <!-- The following sample first disables all categories, then selectively
- turns on various subcategories -->
- <Category name="All" enabled="false" />
- <Category name="StatementExecution" enabled="false" />
- <Category name="Cache" enabled="false" />
- <Category name="Metadata" enabled="false" />
- </Logging>
- </Options>
- <!--
- <NamespaceProviders>
- <Namespace namespace="Gentle.First" provider="SQLServer" connectionstring="..." />
- <Namespace namespace="Gentle.Second" provider="SQLServer" connectionString="..." />
- </NamespaceProviders>
- -->
- <DefaultProvider name="MySQL" connectionString="Server=127.0.0.1;Database=MpTvDbRC2;User ID=sa;Password=sa;charset=utf8;Connection Timeout=300;" />
- <!--
- <DefaultProvider name="Firebird" connectionString="User=SYSDBA;Password=masterkey;Data Source=TvLibrary.fdb;ServerType=1;Charset=UNICODE_FSS;" />
- <DefaultProvider name="Jet" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Code\Gentle.NET\Source\Gentle.Framework.Tests\Database Files\Gentle_MSAccess.mdb;OLE DB Services=-1;" />
- <DefaultProvider name="MySQL" connectionString="Server=10.0.0.2;Database=test;User ID=xxx;Password=xxx" />
- <DefaultProvider name="PostgreSQL" connectionString="Server=10.0.0.2;Database=Test;User ID=xxx;Password=xxx" />
- <DefaultProvider name="Oracle" connectionString="Data Source=kermit.symbiote.sporadicism.com,1521;User ID=gentle;password=xxx" />
- <DefaultProvider name="OracleODP" connectionString="Data Source=kermit.symbiote.sporadicism.com,1521;User ID=gentle;password=xxx" />
- <DefaultProvider name="SQLite" connectionString="URI=file:c:/Code/Gentle.NET/Source/Gentle.Framework.Tests/Database Files/Gentle_SQLite.db" />
- <DefaultProvider name="SQLServer" connectionString="data source=127.0.0.1;initial catalog=Test;user id=xxx;password=xxx;packet size=4096" />
- <DefaultProvider name="SQLServer" connectionString="data source=127.0.0.1;initial catalog=Test;user id=xxx;password=xxx;packet size=4096" />
- -->
- <!-- IMPORTANT: You must uncomment ONLY the providers that you will be using. If a provider
- is defined below, but Gentle cannot find or load the associated library, an exception
- will most likely be raised! -->
- <Providers>
- <!-- list known provider assemblies; the assembly .dll suffix is optional -->
- <!-- Provider name="CE" assembly="Gentle.Provider.CE" /-->
- <!-- Provider name="Firebird" assembly="Gentle.Provider.Firebird" /-->
- <!-- Provider name="Jet" assembly="Gentle.Provider.Jet" /-->
- <Provider name="MySQL" assembly="Gentle.Provider.MySQL.dll" />
- <!-- Provider name="Oracle" assembly="Gentle.Provider.Oracle" /-->
- <!-- Provider name="OracleODP" assembly="Gentle.Provider.OracleODP" /-->
- <!-- Provider name="PostgreSQL" assembly="Gentle.Provider.PostgreSQL" /-->
- <!-- Provider name="SQLite" assembly="Gentle.Provider.SQLite" / -->
- <Provider name="SQLServer" assembly="Gentle.Provider.SQLServer" />
- <!-- Provider name="Sybase" assembly="Gentle.Provider.Sybase" / -->
- <!-- Provider name="SybaseASA" assembly="Gentle.Provider.SybaseASA" / -->
- </Providers>
- </Gentle.Framework>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement