Browse Source

Update demo

pull/4/head
sunkaixuna 3 years ago
parent
commit
d93db1cc53
  1. 6
      Src/Asp.Net/DmTest/App.config
  2. 3
      Src/Asp.Net/DmTest/DmTest.csproj
  3. 2
      Src/Asp.Net/MySqlTest/App.config
  4. 2
      Src/Asp.Net/MySqlTest/MySqlTest.csproj
  5. 2
      Src/Asp.Net/NugetTest/NugetTest.csproj
  6. 2
      Src/Asp.Net/NugetTest/app.config
  7. 2
      Src/Asp.Net/OracleTest/OracleTest.csproj
  8. 2
      Src/Asp.Net/OracleTest/app.config
  9. 16
      Src/Asp.Net/PerformanceTest/App.config
  10. 3
      Src/Asp.Net/PerformanceTest/PerformanceTest.csproj
  11. 2
      Src/Asp.Net/PerformanceTest/packages.config
  12. 4
      Src/Asp.Net/PgSqlTest/PgSqlTest.csproj
  13. 3
      Src/Asp.Net/PgSqlTest/app.config
  14. 2
      Src/Asp.Net/SqlServerTest/SqlServerTest.csproj
  15. 2
      Src/Asp.Net/SqlServerTest/app.config
  16. 6
      Src/Asp.Net/SqliteTest/SqliteTest.csproj
  17. 3
      Src/Asp.Net/SqliteTest/app.config

6
Src/Asp.Net/DmTest/App.config

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
</startup>
</configuration>
</configuration>

3
Src/Asp.Net/DmTest/DmTest.csproj

@ -8,9 +8,10 @@
<OutputType>Exe</OutputType>
<RootNamespace>DmTest</RootNamespace>
<AssemblyName>DmTest</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>

2
Src/Asp.Net/MySqlTest/App.config

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
</startup>
</configuration>

2
Src/Asp.Net/MySqlTest/MySqlTest.csproj

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MySqlTest</RootNamespace>
<AssemblyName>MySqlTest</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />

2
Src/Asp.Net/NugetTest/NugetTest.csproj

@ -8,7 +8,7 @@
<OutputType>Exe</OutputType>
<RootNamespace>NugetTest</RootNamespace>
<AssemblyName>NugetTest</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />

2
Src/Asp.Net/NugetTest/app.config

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/></startup></configuration>

2
Src/Asp.Net/OracleTest/OracleTest.csproj

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OracleTest</RootNamespace>
<AssemblyName>OracleTest</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>

2
Src/Asp.Net/OracleTest/app.config

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/></startup></configuration>

16
Src/Asp.Net/PerformanceTest/App.config

@ -1,28 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
</startup>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb" />
<parameter value="mssqllocaldb"/>
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
</providers>
</entityFramework>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="FreeSql" publicKeyToken="a33928e5d4a4b39c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.105.0" newVersion="2.0.105.0" />
<assemblyIdentity name="FreeSql" publicKeyToken="a33928e5d4a4b39c" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.0.105.0" newVersion="2.0.105.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
</configuration>

3
Src/Asp.Net/PerformanceTest/PerformanceTest.csproj

@ -9,9 +9,10 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PerformanceTest</RootNamespace>
<AssemblyName>PerformanceTest</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>

2
Src/Asp.Net/PerformanceTest/packages.config

@ -8,5 +8,5 @@
<package id="FreeSql.Provider.SqlServer" version="2.0.105" targetFramework="net452" />
<package id="SyntacticSugar" version="2.4.1" targetFramework="net452" />
<package id="System.Data.Common" version="4.3.0" targetFramework="net452" />
<package id="System.Data.SqlClient" version="4.8.2" targetFramework="net452" />
<package id="System.Data.SqlClient" version="4.8.2" targetFramework="net452" requireReinstallation="true" />
</packages>

4
Src/Asp.Net/PgSqlTest/PgSqlTest.csproj

@ -9,9 +9,10 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PgSqlTest</RootNamespace>
<AssemblyName>PgSqlTest</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -117,6 +118,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

3
Src/Asp.Net/PgSqlTest/app.config

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/></startup></configuration>

2
Src/Asp.Net/SqlServerTest/SqlServerTest.csproj

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OrmTest</RootNamespace>
<AssemblyName>OrmTest</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />

2
Src/Asp.Net/SqlServerTest/app.config

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/></startup></configuration>

6
Src/Asp.Net/SqliteTest/SqliteTest.csproj

@ -9,8 +9,9 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SqliteTest</RootNamespace>
<AssemblyName>SqliteTest</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -108,6 +109,9 @@
<Name>SqlSugar</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

3
Src/Asp.Net/SqliteTest/app.config

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/></startup></configuration>
Loading…
Cancel
Save