Skip to content

Commit 62ff4e1

Browse files
committed
实现Apache.IoTDB.Data
1 parent f3320fa commit 62ff4e1

26 files changed

+3370
-37
lines changed

Apache.IoTDB.sln

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,90 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{DEAC57D3-4
2828
EndProject
2929
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{4D457769-80CB-401F-9155-C3125C04FACD}"
3030
EndProject
31+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apache.IoTDB.Data", "src\Apache.IoTDB.Data\Apache.IoTDB.Data.csproj", "{4308656F-D174-49A6-ACE4-15894B017D55}"
32+
EndProject
3133
Global
3234
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3335
Debug|Any CPU = Debug|Any CPU
36+
Debug|x64 = Debug|x64
37+
Debug|x86 = Debug|x86
3438
Release|Any CPU = Release|Any CPU
39+
Release|x64 = Release|x64
40+
Release|x86 = Release|x86
3541
EndGlobalSection
3642
GlobalSection(ProjectConfigurationPlatforms) = postSolution
3743
{60FE924D-19EC-41A9-A114-70DD21A30545}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3844
{60FE924D-19EC-41A9-A114-70DD21A30545}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
{60FE924D-19EC-41A9-A114-70DD21A30545}.Debug|x64.ActiveCfg = Debug|Any CPU
46+
{60FE924D-19EC-41A9-A114-70DD21A30545}.Debug|x64.Build.0 = Debug|Any CPU
47+
{60FE924D-19EC-41A9-A114-70DD21A30545}.Debug|x86.ActiveCfg = Debug|Any CPU
48+
{60FE924D-19EC-41A9-A114-70DD21A30545}.Debug|x86.Build.0 = Debug|Any CPU
3949
{60FE924D-19EC-41A9-A114-70DD21A30545}.Release|Any CPU.ActiveCfg = Release|Any CPU
4050
{60FE924D-19EC-41A9-A114-70DD21A30545}.Release|Any CPU.Build.0 = Release|Any CPU
51+
{60FE924D-19EC-41A9-A114-70DD21A30545}.Release|x64.ActiveCfg = Release|Any CPU
52+
{60FE924D-19EC-41A9-A114-70DD21A30545}.Release|x64.Build.0 = Release|Any CPU
53+
{60FE924D-19EC-41A9-A114-70DD21A30545}.Release|x86.ActiveCfg = Release|Any CPU
54+
{60FE924D-19EC-41A9-A114-70DD21A30545}.Release|x86.Build.0 = Release|Any CPU
4155
{5B88D865-EFFD-4A13-8489-2172777859F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4256
{5B88D865-EFFD-4A13-8489-2172777859F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
57+
{5B88D865-EFFD-4A13-8489-2172777859F5}.Debug|x64.ActiveCfg = Debug|Any CPU
58+
{5B88D865-EFFD-4A13-8489-2172777859F5}.Debug|x64.Build.0 = Debug|Any CPU
59+
{5B88D865-EFFD-4A13-8489-2172777859F5}.Debug|x86.ActiveCfg = Debug|Any CPU
60+
{5B88D865-EFFD-4A13-8489-2172777859F5}.Debug|x86.Build.0 = Debug|Any CPU
4361
{5B88D865-EFFD-4A13-8489-2172777859F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
4462
{5B88D865-EFFD-4A13-8489-2172777859F5}.Release|Any CPU.Build.0 = Release|Any CPU
63+
{5B88D865-EFFD-4A13-8489-2172777859F5}.Release|x64.ActiveCfg = Release|Any CPU
64+
{5B88D865-EFFD-4A13-8489-2172777859F5}.Release|x64.Build.0 = Release|Any CPU
65+
{5B88D865-EFFD-4A13-8489-2172777859F5}.Release|x86.ActiveCfg = Release|Any CPU
66+
{5B88D865-EFFD-4A13-8489-2172777859F5}.Release|x86.Build.0 = Release|Any CPU
4567
{414B31CD-57EB-478B-B734-542644CE48B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4668
{414B31CD-57EB-478B-B734-542644CE48B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
69+
{414B31CD-57EB-478B-B734-542644CE48B0}.Debug|x64.ActiveCfg = Debug|Any CPU
70+
{414B31CD-57EB-478B-B734-542644CE48B0}.Debug|x64.Build.0 = Debug|Any CPU
71+
{414B31CD-57EB-478B-B734-542644CE48B0}.Debug|x86.ActiveCfg = Debug|Any CPU
72+
{414B31CD-57EB-478B-B734-542644CE48B0}.Debug|x86.Build.0 = Debug|Any CPU
4773
{414B31CD-57EB-478B-B734-542644CE48B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
4874
{414B31CD-57EB-478B-B734-542644CE48B0}.Release|Any CPU.Build.0 = Release|Any CPU
75+
{414B31CD-57EB-478B-B734-542644CE48B0}.Release|x64.ActiveCfg = Release|Any CPU
76+
{414B31CD-57EB-478B-B734-542644CE48B0}.Release|x64.Build.0 = Release|Any CPU
77+
{414B31CD-57EB-478B-B734-542644CE48B0}.Release|x86.ActiveCfg = Release|Any CPU
78+
{414B31CD-57EB-478B-B734-542644CE48B0}.Release|x86.Build.0 = Release|Any CPU
4979
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
5080
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
81+
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Debug|x64.ActiveCfg = Debug|Any CPU
82+
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Debug|x64.Build.0 = Debug|Any CPU
83+
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Debug|x86.ActiveCfg = Debug|Any CPU
84+
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Debug|x86.Build.0 = Debug|Any CPU
5185
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
5286
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Release|Any CPU.Build.0 = Release|Any CPU
87+
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Release|x64.ActiveCfg = Release|Any CPU
88+
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Release|x64.Build.0 = Release|Any CPU
89+
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Release|x86.ActiveCfg = Release|Any CPU
90+
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB}.Release|x86.Build.0 = Release|Any CPU
5391
{4D457769-80CB-401F-9155-C3125C04FACD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
5492
{4D457769-80CB-401F-9155-C3125C04FACD}.Debug|Any CPU.Build.0 = Debug|Any CPU
93+
{4D457769-80CB-401F-9155-C3125C04FACD}.Debug|x64.ActiveCfg = Debug|Any CPU
94+
{4D457769-80CB-401F-9155-C3125C04FACD}.Debug|x64.Build.0 = Debug|Any CPU
95+
{4D457769-80CB-401F-9155-C3125C04FACD}.Debug|x86.ActiveCfg = Debug|Any CPU
96+
{4D457769-80CB-401F-9155-C3125C04FACD}.Debug|x86.Build.0 = Debug|Any CPU
5597
{4D457769-80CB-401F-9155-C3125C04FACD}.Release|Any CPU.ActiveCfg = Release|Any CPU
5698
{4D457769-80CB-401F-9155-C3125C04FACD}.Release|Any CPU.Build.0 = Release|Any CPU
99+
{4D457769-80CB-401F-9155-C3125C04FACD}.Release|x64.ActiveCfg = Release|Any CPU
100+
{4D457769-80CB-401F-9155-C3125C04FACD}.Release|x64.Build.0 = Release|Any CPU
101+
{4D457769-80CB-401F-9155-C3125C04FACD}.Release|x86.ActiveCfg = Release|Any CPU
102+
{4D457769-80CB-401F-9155-C3125C04FACD}.Release|x86.Build.0 = Release|Any CPU
103+
{4308656F-D174-49A6-ACE4-15894B017D55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
104+
{4308656F-D174-49A6-ACE4-15894B017D55}.Debug|Any CPU.Build.0 = Debug|Any CPU
105+
{4308656F-D174-49A6-ACE4-15894B017D55}.Debug|x64.ActiveCfg = Debug|x64
106+
{4308656F-D174-49A6-ACE4-15894B017D55}.Debug|x64.Build.0 = Debug|x64
107+
{4308656F-D174-49A6-ACE4-15894B017D55}.Debug|x86.ActiveCfg = Debug|x86
108+
{4308656F-D174-49A6-ACE4-15894B017D55}.Debug|x86.Build.0 = Debug|x86
109+
{4308656F-D174-49A6-ACE4-15894B017D55}.Release|Any CPU.ActiveCfg = Release|Any CPU
110+
{4308656F-D174-49A6-ACE4-15894B017D55}.Release|Any CPU.Build.0 = Release|Any CPU
111+
{4308656F-D174-49A6-ACE4-15894B017D55}.Release|x64.ActiveCfg = Release|x64
112+
{4308656F-D174-49A6-ACE4-15894B017D55}.Release|x64.Build.0 = Release|x64
113+
{4308656F-D174-49A6-ACE4-15894B017D55}.Release|x86.ActiveCfg = Release|x86
114+
{4308656F-D174-49A6-ACE4-15894B017D55}.Release|x86.Build.0 = Release|x86
57115
EndGlobalSection
58116
GlobalSection(SolutionProperties) = preSolution
59117
HideSolutionNode = FALSE
@@ -63,6 +121,7 @@ Global
63121
{5B88D865-EFFD-4A13-8489-2172777859F5} = {AF185F16-80A9-49A8-98B4-B761FD197FF7}
64122
{414B31CD-57EB-478B-B734-542644CE48B0} = {11051AD6-88B3-44B4-A066-C59ED2E35AFD}
65123
{133ECF70-6B6B-492B-A2A4-AA759CEE54BB} = {11051AD6-88B3-44B4-A066-C59ED2E35AFD}
124+
{4308656F-D174-49A6-ACE4-15894B017D55} = {AE9EFF1C-CB25-4089-B764-D834AC132501}
66125
EndGlobalSection
67126
GlobalSection(ExtensibilityGlobals) = postSolution
68127
SolutionGuid = {F1C2DE69-7374-4521-9D86-500AA2517D4E}

courgette.log

Whitespace-only changes.

samples/Apache.IoTDB.Samples/Apache.IoTDB.Samples.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,22 @@
77
<DockerfileContext>..\..</DockerfileContext>
88
</PropertyGroup>
99

10+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
11+
<LangVersion>default</LangVersion>
12+
</PropertyGroup>
13+
14+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
15+
<LangVersion>default</LangVersion>
16+
</PropertyGroup>
17+
1018
<ItemGroup>
19+
<PackageReference Include="ConsoleTableExt" Version="3.1.9" />
1120
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.15.1" />
1221
<PackageReference Include="NLog.Extensions.Logging" Version="5.0.1" />
1322
</ItemGroup>
1423

1524
<ItemGroup>
25+
<ProjectReference Include="..\..\src\Apache.IoTDB.Data\Apache.IoTDB.Data.csproj" />
1626
<ProjectReference Include="..\..\src\Apache.IoTDB\Apache.IoTDB.csproj" />
1727
</ItemGroup>
1828

samples/Apache.IoTDB.Samples/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
77
WORKDIR /src
88
COPY ["samples/Apache.IoTDB.Samples/Apache.IoTDB.Samples.csproj", "samples/Apache.IoTDB.Samples/"]
99
COPY ["src/Apache.IoTDB/Apache.IoTDB.csproj", "src/Apache.IoTDB/"]
10+
COPY ["src/Apache.IoTDB.Data/Apache.IoTDB.Data.csproj", "src/Apache.IoTDB.Data/"]
1011
RUN dotnet restore "samples/Apache.IoTDB.Samples/Apache.IoTDB.Samples.csproj"
1112
COPY . .
1213
WORKDIR "/src/samples/Apache.IoTDB.Samples"

samples/Apache.IoTDB.Samples/SessionPoolTest.cs

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
using System.Collections.Generic;
33
using System.Threading;
44
using System.Threading.Tasks;
5+
using Apache.IoTDB.Data;
56
using Apache.IoTDB.DataStructure;
6-
7+
using ConsoleTableExt;
8+
79
namespace Apache.IoTDB.Samples
810
{
911
public partial class SessionPoolTest
@@ -92,10 +94,12 @@ public async Task Test()
9294

9395
await TestDeleteData();
9496

95-
await TestNonSql();
96-
97-
await TestSqlQuery();
98-
97+
await TestNonSql();
98+
99+
100+
await TestSqlQuery();
101+
102+
await TestNonSqlBy_ADO();
99103
}
100104

101105
public async Task TestGetTimeZone()
@@ -266,6 +270,43 @@ await session_pool.ExecuteNonQueryStatementAsync(
266270
System.Diagnostics.Debug.Assert(status == 0);
267271
await session_pool.Close();
268272
Console.WriteLine("TestNonSql Passed");
273+
}
274+
275+
public async Task TestNonSqlBy_ADO()
276+
{
277+
var cnts = new IoTDB.Data.IoTDBConnectionStringBuilder();
278+
cnts.DataSource = host;
279+
var cnt = new IoTDB.Data.IoTDBConnection(cnts.ConnectionString);
280+
await cnt.OpenAsync();
281+
var session_pool = cnt.SessionPool;
282+
System.Diagnostics.Debug.Assert(cnt.State == System.Data.ConnectionState.Open);
283+
var status = await session_pool.DeleteStorageGroupAsync(test_group_name);
284+
await cnt.CreateCommand(
285+
"create timeseries " + string.Format("{0}.{1}", test_group_name, test_device) + ".status with datatype=BOOLEAN,encoding=PLAIN").ExecuteNonQueryAsync();
286+
await cnt.CreateCommand(
287+
"create timeseries " + string.Format("{0}.{1}", test_group_name, test_device) + ".temperature with datatype=FLOAT,encoding=PLAIN").ExecuteNonQueryAsync();
288+
await cnt.CreateCommand(
289+
"create timeseries " + string.Format("{0}.{1}", test_group_name, test_device) + ".hardware with datatype=TEXT,encoding=PLAIN").ExecuteNonQueryAsync();
290+
status = await cnt.CreateCommand(
291+
"insert into " + string.Format("{0}.{1}", test_group_name, test_device) + "(timestamp, status, temperature, hardware) VALUES (4, false, 20, 'yxl')").ExecuteNonQueryAsync();
292+
System.Diagnostics.Debug.Assert(status == 0);
293+
await cnt.CreateCommand(
294+
"insert into " + string.Format("{0}.{1}", test_group_name, test_device) + "(timestamp, status, temperature, hardware) VALUES (5, true, 12, 'myy')").ExecuteNonQueryAsync();
295+
await cnt.CreateCommand(
296+
"insert into " + string.Format("{0}.{1}", test_group_name, test_device) + "(timestamp, status, temperature, hardware) VALUES (6, true, 21, 'lz')").ExecuteNonQueryAsync();
297+
await cnt.CreateCommand(
298+
"insert into " + string.Format("{0}.{1}", test_group_name, test_device) + "(timestamp, status, hardware) VALUES (7, true,'lz')").ExecuteNonQueryAsync();
299+
await cnt.CreateCommand(
300+
"insert into " + string.Format("{0}.{1}", test_group_name, test_device) + "(timestamp, status, hardware) VALUES (7, true,'lz')").ExecuteNonQueryAsync();
301+
var reader = await cnt.CreateCommand(
302+
"select * from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10").ExecuteReaderAsync();
303+
ConsoleTableBuilder.From(reader.ToDataTable()).WithFormat(ConsoleTableBuilderFormat.Default).ExportAndWriteLine();
304+
status = await session_pool.DeleteStorageGroupAsync(test_group_name);
305+
await cnt.CloseAsync();
306+
307+
System.Diagnostics.Debug.Assert(status == 0);
308+
309+
Console.WriteLine("TestNonSqlBy_ADO Passed");
269310
}
270311

271312
public async Task TestSqlQuery()
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<AssemblyName>Apache.IoTDB.Data</AssemblyName>
5+
<RootNamespace>$(AssemblyName)</RootNamespace>
6+
<PackageId>Apache.IoTDB.Data</PackageId>
7+
<Description>
8+
IoTDB implementation of the System.Data.Common provider model.
9+
Commonly Used Types:
10+
Apache.IoTDB.Data.IoTDBCommand
11+
Apache.IoTDB.Data.IoTDBConnection
12+
Apache.IoTDB.Data.IoTDBConnectionStringBuilder
13+
Apache.IoTDB.Data.IoTDBDataReader
14+
Apache.IoTDB.Data.IoTDBException
15+
Apache.IoTDB.Data.IoTDBFactory
16+
Apache.IoTDB.Data.IoTDBParameter
17+
Apache.IoTDB.Data.IoTDBTransaction
18+
</Description>
19+
<TargetFrameworks>net5;net6;netstandard2.1</TargetFrameworks>
20+
<LangVersion>10</LangVersion>
21+
<PackageTags></PackageTags>
22+
23+
<Authors>Apache.IoTDB</Authors>
24+
25+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
26+
27+
<PackageProjectUrl></PackageProjectUrl>
28+
29+
<PackageIconUrl></PackageIconUrl>
30+
31+
<RepositoryUrl></RepositoryUrl>
32+
33+
<PackageReleaseNotes>Apache.IoTDB.Data 是一个TDengine 的ADO.Net 提供器。 这将允许你通过.Net 访问IoTDB数据库。 </PackageReleaseNotes>
34+
35+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
36+
37+
<Copyright></Copyright>
38+
39+
<Version>1.0.1</Version>
40+
41+
<Platforms>AnyCPU;x64;x86</Platforms>
42+
43+
<PackageIcon>48876650.jpg</PackageIcon>
44+
</PropertyGroup>
45+
46+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net4.6|AnyCPU'">
47+
<LangVersion>default</LangVersion>
48+
</PropertyGroup>
49+
50+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net4.6|x64'">
51+
<LangVersion>default</LangVersion>
52+
</PropertyGroup>
53+
54+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|x64'">
55+
<LangVersion>default</LangVersion>
56+
</PropertyGroup>
57+
58+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net5|x64'">
59+
<LangVersion>default</LangVersion>
60+
</PropertyGroup>
61+
62+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net5|x86'">
63+
<LangVersion>default</LangVersion>
64+
</PropertyGroup>
65+
66+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5|AnyCPU'">
67+
<LangVersion>default</LangVersion>
68+
</PropertyGroup>
69+
70+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net4.6|x86'">
71+
<LangVersion>default</LangVersion>
72+
</PropertyGroup>
73+
74+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net4.6|AnyCPU'">
75+
<LangVersion>default</LangVersion>
76+
</PropertyGroup>
77+
78+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6|x86'">
79+
<LangVersion>default</LangVersion>
80+
</PropertyGroup>
81+
82+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|x86'">
83+
<LangVersion>default</LangVersion>
84+
</PropertyGroup>
85+
86+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5|x64'">
87+
<LangVersion>default</LangVersion>
88+
</PropertyGroup>
89+
90+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6|x64'">
91+
<LangVersion>default</LangVersion>
92+
</PropertyGroup>
93+
94+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6|x64'">
95+
<LangVersion>default</LangVersion>
96+
</PropertyGroup>
97+
98+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6|x86'">
99+
<LangVersion>default</LangVersion>
100+
</PropertyGroup>
101+
102+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net4.6|x86'">
103+
<LangVersion>default</LangVersion>
104+
</PropertyGroup>
105+
106+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
107+
<LangVersion>default</LangVersion>
108+
</PropertyGroup>
109+
110+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5|x86'">
111+
<LangVersion>default</LangVersion>
112+
</PropertyGroup>
113+
114+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net5|AnyCPU'">
115+
<LangVersion>default</LangVersion>
116+
</PropertyGroup>
117+
118+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6|AnyCPU'">
119+
<LangVersion>default</LangVersion>
120+
</PropertyGroup>
121+
122+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
123+
<LangVersion>default</LangVersion>
124+
</PropertyGroup>
125+
126+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net4.6|x64'">
127+
<LangVersion>default</LangVersion>
128+
</PropertyGroup>
129+
130+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|x64'">
131+
<LangVersion>default</LangVersion>
132+
</PropertyGroup>
133+
134+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|x86'">
135+
<LangVersion>default</LangVersion>
136+
</PropertyGroup>
137+
138+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6|AnyCPU'">
139+
<LangVersion>default</LangVersion>
140+
</PropertyGroup>
141+
142+
<ItemGroup>
143+
<Compile Update="IoTDBCommandIoTDB.cs" />
144+
145+
<Compile Update="IoTDBConnectionIoTDB.cs" />
146+
</ItemGroup>
147+
<ItemGroup Condition="'$(TargetFramework)' == 'net4.6'">
148+
<Reference Include="System.ComponentModel.DataAnnotations" />
149+
</ItemGroup>
150+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' ">
151+
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
152+
</ItemGroup>
153+
<ItemGroup>
154+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
155+
156+
</ItemGroup>
157+
<ItemGroup>
158+
<ProjectReference Include="..\Apache.IoTDB\Apache.IoTDB.csproj" />
159+
</ItemGroup>
160+
</Project>

0 commit comments

Comments
 (0)