aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Shared
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-07-29 21:12:47 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-07-29 21:12:47 +0300
commit08bd8bac1498b6aa3bd264e5c466dd65a4386fd2 (patch)
tree1fb311c11e4975663957aa218ab818beb90528ac /Software/Visual_Studio/PPC/Tango.PPC.Shared
parentbdf7e5a2abc2c9d3b7889d2d71754c33ea3efbf6 (diff)
downloadTango-08bd8bac1498b6aa3bd264e5c466dd65a4386fd2.tar.gz
Tango-08bd8bac1498b6aa3bd264e5c466dd65a4386fd2.zip
Procedures SQL, Resources, Variables.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Shared')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/SQL/ExecuteSqlRequest.cs13
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/SQL/ExecuteSqlResponse.cs19
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj2
3 files changed, 34 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/SQL/ExecuteSqlRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/SQL/ExecuteSqlRequest.cs
new file mode 100644
index 000000000..7802fc3f7
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/SQL/ExecuteSqlRequest.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.PPC.Shared.SQL
+{
+ public class ExecuteSqlRequest
+ {
+ public String SQL { get; set; }
+ }
+}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/SQL/ExecuteSqlResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/SQL/ExecuteSqlResponse.cs
new file mode 100644
index 000000000..4166d8f82
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/SQL/ExecuteSqlResponse.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.PPC.Shared.SQL
+{
+ public class ExecuteSqlResponse
+ {
+ public int AffectedRecords { get; set; }
+ public List<Dictionary<String,Object>> Rows { get; set; }
+
+ public ExecuteSqlResponse()
+ {
+ Rows = new List<Dictionary<string, object>>();
+ }
+ }
+}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
index 221cea81e..c93aef159 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
@@ -88,6 +88,8 @@
<Compile Include="RemoteUpgrade\StartRemoteFirmwareUpgradeResponse.cs" />
<Compile Include="RemoteUpgrade\StartRemoteApplicationUpgradeResponse.cs" />
<Compile Include="RemoteUpgrade\StartRemoteApplicationUpgradeRequest.cs" />
+ <Compile Include="SQL\ExecuteSqlRequest.cs" />
+ <Compile Include="SQL\ExecuteSqlResponse.cs" />
<Compile Include="Updates\GetUpdatesAndPackagesRequest.cs" />
<Compile Include="Updates\GetUpdatesAndPackagesResponse.cs" />
<Compile Include="Updates\PackageInstallation.cs" />