1550076451 1 ano atrás
pai
commit
53372fb0ff

+ 6 - 2
CallCenterApi/CallCenterApi.DB/CallCenterApi.DB.csproj

30
     <WarningLevel>4</WarningLevel>
30
     <WarningLevel>4</WarningLevel>
31
   </PropertyGroup>
31
   </PropertyGroup>
32
   <ItemGroup>
32
   <ItemGroup>
33
-    <Reference Include="MySql.Data">
34
-      <HintPath>D:\web\地铁\DLL\MySql.Data.dll</HintPath>
33
+    <Reference Include="MySql.Data, Version=6.9.12.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
34
+      <HintPath>..\..\packages\MySql.Data.6.9.12\lib\net45\MySql.Data.dll</HintPath>
35
     </Reference>
35
     </Reference>
36
     <Reference Include="System" />
36
     <Reference Include="System" />
37
     <Reference Include="System.Configuration" />
37
     <Reference Include="System.Configuration" />
59
       <Name>CallCenter.Utility</Name>
59
       <Name>CallCenter.Utility</Name>
60
     </ProjectReference>
60
     </ProjectReference>
61
   </ItemGroup>
61
   </ItemGroup>
62
+  <ItemGroup>
63
+    <None Include="app.config" />
64
+    <None Include="packages.config" />
65
+  </ItemGroup>
62
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
66
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
63
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
67
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
64
        Other similar extension points exist, see Microsoft.Common.targets.
68
        Other similar extension points exist, see Microsoft.Common.targets.

+ 9 - 0
CallCenterApi/CallCenterApi.DB/app.config

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<configuration>
3
+  <system.data>
4
+    <DbProviderFactories>
5
+      <remove invariant="MySql.Data.MySqlClient" />
6
+      <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.12.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
7
+    </DbProviderFactories>
8
+  </system.data>
9
+</configuration>

+ 4 - 0
CallCenterApi/CallCenterApi.DB/packages.config

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<packages>
3
+  <package id="MySql.Data" version="6.9.12" targetFramework="net45" />
4
+</packages>

BIN
packages/MySql.Data.6.9.12/lib/net40/MySql.Data.dll


BIN
packages/MySql.Data.6.9.12/lib/net45/MySql.Data.dll