zs
2024-11-21 9f5cd73648a4dd6ad80d5c8e1c14746a8a27b1b6
DataCapture_MA/bin/Debug/DataCapture_MA.exe.config
@@ -6,7 +6,9 @@
  </configSections>
  <connectionStrings>
    <!-- SQLite 连接字符串 -->
    <add name="DbModel" connectionString="Data Source=./EntitydataCapture.db" providerName="Microsoft.Data.Sqlite" />
    <!--<add name="DbModel" connectionString="Data Source=./EntitydataCapture.db" providerName="Microsoft.Data.Sqlite" />-->
  <add name="DbModel" connectionString="Server=localhost;Database=dataCapture;User=root;Password=123abc.com;Port=3306;" providerName="Pomelo.EntityFrameworkCore.MySql" />
  </connectionStrings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
@@ -69,6 +71,18 @@
        <assemblyIdentity name="Microsoft.Extensions.Logging" publicKeyToken="adb9793829ddae60" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.EntityFrameworkCore.Relational" publicKeyToken="adb9793829ddae60" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.1.8.0" newVersion="3.1.8.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <entityFramework>