mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-25 01:14:33 +08:00
Add NANA Test
This commit is contained in:
parent
d10352af7c
commit
d0aea1173a
14
Src/Asp.NetCore2/HANATest/HANATest.csproj
Normal file
14
Src/Asp.NetCore2/HANATest/HANATest.csproj
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\SqlSugar.HanaConnector\SqlSugar.HanaConnector\SqlSugar.HANAConnector.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
16
Src/Asp.NetCore2/HANATest/Program.cs
Normal file
16
Src/Asp.NetCore2/HANATest/Program.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
using SqlSugar;
|
||||||
|
|
||||||
|
var db = new SqlSugarClient(new ConnectionConfig()
|
||||||
|
{
|
||||||
|
ConnectionString = "DRIVER={HANAQAS64};SERVERNODE=172.16.10.12:32015;UID=WLH_BPM_TASK;PWD=BPM4pass1;DATABASENAME=Q00",
|
||||||
|
DbType = DbType.HANA,
|
||||||
|
IsAutoCloseConnection = true,
|
||||||
|
});
|
||||||
|
|
||||||
|
db.Open();
|
||||||
|
db.Close();
|
||||||
|
|
||||||
|
var dt = db.Ado.GetDataTable("SELECT 1 as id");
|
||||||
|
|
||||||
|
Console.WriteLine("Hello, World!");
|
@ -84,6 +84,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "3TDSQLForPGOBDCTest", "TDSQ
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SqlSugar.HANAConnector", "SqlSugar.HanaConnector\SqlSugar.HanaConnector\SqlSugar.HANAConnector.csproj", "{B3C4B993-C33E-48AF-955F-EB801774FBE8}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SqlSugar.HANAConnector", "SqlSugar.HanaConnector\SqlSugar.HanaConnector\SqlSugar.HANAConnector.csproj", "{B3C4B993-C33E-48AF-955F-EB801774FBE8}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HANATest", "HANATest\HANATest.csproj", "{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@ -538,6 +540,18 @@ Global
|
|||||||
{B3C4B993-C33E-48AF-955F-EB801774FBE8}.Release|ARM32.Build.0 = Release|Any CPU
|
{B3C4B993-C33E-48AF-955F-EB801774FBE8}.Release|ARM32.Build.0 = Release|Any CPU
|
||||||
{B3C4B993-C33E-48AF-955F-EB801774FBE8}.Release|x86.ActiveCfg = Release|Any CPU
|
{B3C4B993-C33E-48AF-955F-EB801774FBE8}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{B3C4B993-C33E-48AF-955F-EB801774FBE8}.Release|x86.Build.0 = Release|Any CPU
|
{B3C4B993-C33E-48AF-955F-EB801774FBE8}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Debug|ARM32.ActiveCfg = Debug|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Debug|ARM32.Build.0 = Debug|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Release|ARM32.ActiveCfg = Release|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Release|ARM32.Build.0 = Release|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{B6E4F79F-1B62-413C-94B5-EDBF6CD71432}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
Loading…
Reference in New Issue
Block a user