Browse Source

Update 达梦 dll

pull/40/head
sunkaixuan 1 year ago
parent
commit
75d921b616
  1. 2
      Src/Asp.Net/DmTest/Demo/Demo0_SqlSugarClient.cs
  2. 5
      Src/Asp.Net/DmTest/DmTest.csproj
  3. 4
      Src/Asp.Net/DmTest/packages.config
  4. BIN
      Src/Asp.Net/SqlSugar/References/DmProvider.dll

2
Src/Asp.Net/DmTest/Demo/Demo0_SqlSugarClient.cs

@ -71,7 +71,7 @@ namespace OrmTest
//db.DbMaintenance.CreateDatabase();
//Use db query
var dt = db.Ado.GetDataTable("select 1");
var dt = db.Ado.GetDataTable("select 1",new { id=1});
//Create tables
db.CodeFirst.InitTables(typeof(OrderItem),typeof(Order));

5
Src/Asp.Net/DmTest/DmTest.csproj

@ -34,12 +34,12 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="DmProvider, Version=1.1.0.0, Culture=neutral, PublicKeyToken=7a2d44aa446c6d01, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\SqlSugar\References\DmProvider.dll</HintPath>
<HintPath>..\packages\dmdbms.DmProvider.1.1.0.16649\lib\net45\DmProvider.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Transactions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
@ -98,6 +98,7 @@
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SqlSugar\SqlSugar.csproj">

4
Src/Asp.Net/DmTest/packages.config

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="dmdbms.DmProvider" version="1.1.0.16649" targetFramework="net46" />
</packages>

BIN
Src/Asp.Net/SqlSugar/References/DmProvider.dll

Binary file not shown.
Loading…
Cancel
Save