Files
StockSharp/Samples/Common/SampleMultiConnection/app.config
T

85 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/StockSharp/StockSharp/blob/master/LICENSE
Removal of this comment is a violation of the license agreement.
Project: %Namespace%.SampleMultiConnectionPublic
File: app.config
Created: 2015, 11, 11, 2:32 PM
Copyright 2010 by StockSharp, LLC
-->
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Ecng.Configuration"/>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/>
</startup>
<!--<system.data>
<DbProviderFactories>
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
</DbProviderFactories>
</system.data>
<connectionStrings>
<add name="SQLiteConStr" connectionString="Data Source=StockSharp.db" providerName="System.Data.SQLite"/>
</connectionStrings>-->
<unity>
<containers>
<container>
<types>
<!--<register type="Ecng.Serialization.IStorage, Ecng.Serialization" mapTo="Ecng.Data.HierarchicalDatabase, Ecng.Data">
<constructor>
<param name="name" value="Database"/>
<param name="connectionString">
<value value="SQLiteConStr" typeConverter="Ecng.Configuration.ConnectionSettingsTypeConverter, Ecng.Configuration"/>
</param>
</constructor>
<property name="Provider">
<dependency type="Ecng.Data.Providers.SQLiteDatabaseProvider, Ecng.Data.Providers"/>
</property>
<property name="AllowDeleteAll" value="true"/>
<lifetime type="singleton"/>
</register>
<register type="StockSharp.Algo.Storages.IEntityRegistry, StockSharp.Algo" mapTo="StockSharp.Algo.Storages.EntityRegistry, StockSharp.Algo">
<constructor>
<param name="storage">
<dependency type="Ecng.Serialization.IStorage, Ecng.Serialization"/>
</param>
</constructor>
<lifetime type="singleton"/>
</register>-->
<!--<register type="StockSharp.Algo.Storages.LocalMarketDataDrive, StockSharp.Algo" mapTo="StockSharp.Algo.Storages.LocalMarketDataDrive, StockSharp.Algo">
<constructor>
<param name="path" value="Data"/>
</constructor>
<lifetime type="singleton"/>
</register>
<register type="StockSharp.Algo.Storages.IStorageRegistry, StockSharp.Algo" mapTo="StockSharp.Algo.Storages.StorageRegistry, StockSharp.Algo">
<property name="DefaultDrive">
<dependency type="StockSharp.Algo.Storages.LocalMarketDataDrive, StockSharp.Algo"/>
</property>
<lifetime type="singleton"/>
</register>-->
</types>
</container>
</containers>
</unity>
</configuration>