编辑页面树状目录变更,待排查问题

This commit is contained in:
2025-03-25 17:20:09 +08:00
parent adcab16382
commit 501fa77e5a
282 changed files with 19609 additions and 34059 deletions

View File

@@ -117,6 +117,22 @@ Namespace Database
Return True
End Function
''' <summary>
''' 打开数据库连接
''' </summary>
''' <returns></returns>
Public Async Function OpenAsync() As Task(Of Boolean)
If _connection Is Nothing Then Return False
If String.IsNullOrWhiteSpace(_connectionString) Then Return False
Try
_connection.ConnectionString = _connectionString
Await _connection.OpenAsync()
Catch ex As Exception
Throw
End Try
Return True
End Function
''' <summary>
''' 关闭数据库连接
''' </summary>
@@ -152,6 +168,22 @@ Namespace Database
Return result
End Function
''' <summary>
''' 运行非查询语句,返回执行该语句受到影响的行数
''' </summary>
''' <param name="commandText">执行的数据库命令文本</param>
''' <returns></returns>
Public Async Function ExecuteNonQueryAsync(commandText As String) As Task(Of Integer)
Dim result As Integer
Try
_command.CommandText = commandText
result = Await _command.ExecuteNonQueryAsync()
Catch ex As Exception
Throw
End Try
Return result
End Function
''' <summary>
''' 使用命令参数模式执行非查询语句,返回执行该语句受到影响的行数
''' </summary>
@@ -173,6 +205,28 @@ Namespace Database
Return result
End Function
''' <summary>
''' 使用命令参数模式执行非查询语句,返回执行该语句受到影响的行数
''' </summary>
''' <param name="commandText">执行的数据库命令文本</param>
''' <param name="commandParams">执行的数据库命令参数</param>
''' <returns></returns>
Public Async Function ExecuteNonQueryAsync(commandText As String, commandParams As DbParameterCollection) As Task(Of Integer)
Dim result As Integer
Try
_command.CommandText = commandText
_command.Parameters.Clear()
For Each param As DbParameter In commandParams
_command.Parameters.Add(param)
Next
result = Await _command.ExecuteNonQueryAsync()
Catch ex As Exception
Throw
End Try
Return result
End Function
''' <summary>
''' 执行数据库语句,返回数据库读取流的句柄
''' </summary>
@@ -189,6 +243,22 @@ Namespace Database
Return result
End Function
''' <summary>
''' 执行数据库语句,返回数据库读取流的句柄
''' </summary>
''' <param name="commandText">执行的数据库命令文本</param>
''' <returns></returns>
Public Async Function ExecuteReaderAsync(commandText As String) As Task(Of DbDataReader)
Dim result As DbDataReader
Try
_command.CommandText = commandText
result = Await _command.ExecuteReaderAsync()
Catch ex As Exception
Throw
End Try
Return result
End Function
''' <summary>
''' 使用命令参数模式执行数据库语句,返回数据库读取流的句柄
''' </summary>
@@ -210,6 +280,27 @@ Namespace Database
Return result
End Function
''' <summary>
''' 使用命令参数模式执行数据库语句,返回数据库读取流的句柄
''' </summary>
''' <param name="commandText">执行的数据库命令文本</param>
''' <param name="commandParams">执行的数据库命令参数</param>
''' <returns></returns>
Public Async Function ExecuteReaderAsync(commandText As String, commandParams As DbParameterCollection) As Task(Of DbDataReader)
Dim result As DbDataReader
Try
_command.CommandText = commandText
_command.Parameters.Clear()
For Each param As DbParameter In commandParams
_command.Parameters.Add(param)
Next
result = Await _command.ExecuteReaderAsync()
Catch ex As Exception
Throw
End Try
Return result
End Function
''' <summary>
''' 执行数据库语句,返回查询结果的第一行第一列的内容
''' </summary>
@@ -226,6 +317,21 @@ Namespace Database
Return result
End Function
''' <summary>
''' 执行数据库语句,返回查询结果的第一行第一列的内容
''' </summary>
''' <param name="commandText">执行的数据库命令文本</param>
''' <returns></returns>
Public Async Function ExecuteScalarAsync(commandText As String) As Task(Of Object)
Dim result As Object
Try
_command.CommandText = commandText
result = Await _command.ExecuteScalarAsync()
Catch ex As Exception
Throw
End Try
Return result
End Function
''' <summary>
''' 使用命令参数模式执行数据库语句,返回查询结果的第一行第一列的内容
@@ -248,6 +354,26 @@ Namespace Database
Return result
End Function
''' <summary>
''' 使用命令参数模式执行数据库语句,返回查询结果的第一行第一列的内容
''' </summary>
''' <param name="commandText">执行的数据库命令文本</param>
''' <param name="commandParams">执行的数据库命令参数</param>
''' <returns></returns>
Public Async Function ExecuteScalarAsync(commandText As String, commandParams As DbParameterCollection) As Task(Of Object)
Dim result As Object
Try
_command.CommandText = commandText
_command.Parameters.Clear()
For Each param As DbParameter In commandParams
_command.Parameters.Add(param)
Next
result = Await _command.ExecuteScalarAsync()
Catch ex As Exception
Throw
End Try
Return result
End Function
''' <summary>
''' 执行数据库语句,返回执行结果返回的数据表,常用于查询命令
@@ -272,6 +398,7 @@ Namespace Database
Return dataTable
End Function
''' <summary>
''' 执行数据库语句,返回执行结果返回的数据表,常用于查询命令
''' </summary>

View File

@@ -75,19 +75,18 @@ Namespace UTSModule.Service
Me.AppName = appName
Me.AppVersion = appVersion
InitApp()
InitApp().GetAwaiter().GetResult()
End Sub
Public Property ProjectName() As String
Public Property StationName() As String
Public Property TestPlan() As String
Private Sub InitApp()
Private Async Function InitApp() As Task
If AppRegistered() Then
'更新App版本
Try
UpdateAppVersion()
Await UpdateAppVersion()
Catch ex As Exception
Throw New Exception($"UpdateAppVersion Error: {ex.Message}")
End Try
@@ -100,7 +99,7 @@ Namespace UTSModule.Service
Throw New Exception($"RegisterApp Error: {ex.Message}")
End Try
End Sub
End Function
Private Function AppRegistered() As Boolean
@@ -172,7 +171,7 @@ Namespace UTSModule.Service
End Using
End Sub
Private Sub UpdateAppVersion()
Private Async Function UpdateAppVersion() As Task
Dim tableName As String = AppListTable.TableName
Dim filed As New Dictionary(Of String, String) From {
{$"{AppListTable.ColNamesEnum.AppVersion}", AppVersion},
@@ -188,9 +187,9 @@ Namespace UTSModule.Service
Using db As New DbExecutor(UtsDb.RemoteDbType, UtsDb.RemoteConnString)
cmdText = db.CmdHelper.DbUpdate(UtsDb.RemotePublicDb, tableName, filed, condition)
db.Open()
Await db.OpenAsync()
db.ExecuteNonQuery(cmdText)
Await db.ExecuteNonQueryAsync(cmdText)
db.Close()
End Using
@@ -203,10 +202,10 @@ Namespace UTSModule.Service
'本地更新App版本
Using db As New DbExecutor(UtsDb.LocalDbType, UtsDb.LocalConnString)
db.Open()
Await db.OpenAsync()
cmdText = db.CmdHelper.Update(tableName, filed, condition)
db.ExecuteNonQuery(cmdText)
Await db.ExecuteNonQueryAsync(cmdText)
'保存至缓冲队列
If saved = False Then
@@ -216,7 +215,7 @@ Namespace UTSModule.Service
db.Close()
End Using
End Sub
End Function
''' <summary>
''' 定期更新APP的活动时间调用则会定期基于本地调用存储过程至缓存表

View File

@@ -1,4 +1,5 @@
Imports System.Drawing
Imports System.Reflection.Emit
Imports System.Text
Imports System.Windows.Forms
Imports FlexCell
@@ -52,13 +53,13 @@ Namespace UTSModule.Station
''' <summary>当前活动节点</summary>
Public ActiveNode As RowNode
''' <summary>节点选择改变事件</summary>
''' <summary>节点选择改变事件</summary>
Public Event PlanNodeSelectChanged(ByVal sender As Object, ByVal e As PlanNodeSelectChangedEventArgs)
''' <summary>节点文本被修改事件</summary>
''' <summary>节点文本被修改事件</summary>
Public Event RowNodeTextChanged(ByVal sender As Object, ByVal e As RowNodeChangedEventArgs)
''' <summary>测试命令管理器</summary>
''' <summary>测试命令管理器</summary>
Private ReadOnly _testCmdManager As TestCmdManager
''' <summary>错误代码管理器</summary>
@@ -115,7 +116,7 @@ Namespace UTSModule.Station
InitializeGrid()
RemoveHandler _grd.OwnerDrawCell, AddressOf Grid_OwnerDrawCell
' RemoveHandler _grd.OwnerDrawCell, AddressOf Grid_OwnerDrawCell
RemoveHandler _grd.Click, AddressOf Grid_Click
RemoveHandler _grd.CellChange, AddressOf Grid_CellChange
RemoveHandler _grd.SelChange, AddressOf Grid_SelChange
@@ -127,7 +128,7 @@ Namespace UTSModule.Station
RemoveHandler _grd.MouseEnter, AddressOf Grid_MouseEnter
AddHandler _grd.OwnerDrawCell, AddressOf Grid_OwnerDrawCell
' AddHandler _grd.OwnerDrawCell, AddressOf Grid_OwnerDrawCell
AddHandler _grd.Click, AddressOf Grid_Click
AddHandler _grd.CellChange, AddressOf Grid_CellChange
AddHandler _grd.SelChange, AddressOf Grid_SelChange
@@ -398,11 +399,11 @@ Namespace UTSModule.Station
Case RowNode.RowTypeEnum.Flow
Select Case node.CommandType
Case "System"
If node.Command = "Call"
Return Color.Blue
If node.Command = "Call" Then
Return Color.Blue
Else
Return Color.DarkSlateGray
End If
Return Color.DarkSlateGray
End If
Case "ComPort"
Return Color.DarkCyan
Case "UtsComPort"
@@ -741,6 +742,12 @@ Namespace UTSModule.Station
'.BackColor1 = Color.AliceBlue'单行背景色
'.BackColor2 = Color.Azure'双行背景色
.Tree.Row = 2
.Tree.Col = ColNames.Description
.Tree.ShowLines = True
.Tree.CheckBoxes = False
.Tree.Nodes.Clear()
For col As Integer = 0 To ColNames.Max - 1
Select Case col
Case ColNames.Pause
@@ -903,7 +910,7 @@ Namespace UTSModule.Station
Public Sub UpdateGrid(grd As Grid, nodes As RowNodeCollection)
For Each node As RowNode In nodes
grd.AddItem("")
grd.AddItem(node.RowLever, node.Description, String.Empty)
Dim row As Integer = grd.Rows - 1
UpdateGrid(grd, row, node)
@@ -920,15 +927,11 @@ Namespace UTSModule.Station
InitializeGrid()
With _grd
' .AutoRedraw = False
LockGridAutoRedraw()
UpdateGrid(_grd, _headNode.RowNodes)
UnLockGridAutoRedraw()
'.AutoRedraw = True
'.Refresh()
End With
_uploading = False
@@ -1483,11 +1486,12 @@ Namespace UTSModule.Station
If rows < 1 Then Return
If _grd.ActiveCell Is Nothing Then Return
If _grd.ActiveCell Is Nothing OrElse _grd.Tree.SelectedNode Is Nothing Then Return
If _headNode Is Nothing Then Return
LockGridAutoRedraw()
Dim row As Integer = _grd.ActiveCell.Row + rows
For idx = 1 To rows
node = _headNode.RowList(_grd.ActiveCell.Row - _drawStartRow + 1)
@@ -1500,18 +1504,18 @@ Namespace UTSModule.Station
node.ParentNode.InsertNode(node.RowIndex, rowNode)
'更新控件,若为最后一行,插入会失败
If rowNode.RowListIndex = _grd.Rows Then
_grd.AddItem("")
If _grd.Tree.SelectedNode.NextNode Is Nothing Then
_grd.Tree.SelectedNode.Parent.Nodes.Add("", "")
Else
_grd.InsertRow(rowNode.RowListIndex, 1)
_grd.Tree.SelectedNode.Parent.Nodes.Insert(_grd.Tree.SelectedNode.Index, "")
End If
UpdateGrid(_grd, rowNode.RowListIndex, rowNode)
'其他操作
' _grd.Cell(rowNode.RowListIndex, _drawCol).SetFocus()
Next idx
'其他操作
_grd.Cell(row, _drawCol).SetFocus()
UnLockGridAutoRedraw()
End Sub
@@ -1520,11 +1524,12 @@ Namespace UTSModule.Station
Dim node As RowNode
If rows < 1 Then Return
If _grd.ActiveCell Is Nothing Then Return
If _grd.ActiveCell Is Nothing OrElse _grd.Tree.SelectedNode Is Nothing Then Return
If _headNode Is Nothing Then Return
LockGridAutoRedraw()
Dim row As Integer = _grd.ActiveCell.Row - 1
For idx = 1 To rows
node = _headNode.RowList(_grd.ActiveCell.Row - _drawStartRow + 1)
If node Is Nothing Then Exit For
@@ -1541,20 +1546,18 @@ Namespace UTSModule.Station
node.Remove()
'更新控件
If node.AllChildCount > 0 Then
_grd.Range(node.RowListIndex, 0, node.RowListIndex + node.AllChildCount, 0).DeleteByRow()
Else
_grd.Row(node.RowListIndex).Delete()
End If
_grd.Tree.SelectedNode.Remove()
'其他操作
StationEditStatusMonitor.StationEditStatus = StationEditStatusMonitor.StationEditStatusEnum.Changed
Next idx
_grd.Cell(row, _drawCol).SetFocus()
UnLockGridAutoRedraw()
End Sub
Public Sub NodeClear()
If _grd.ActiveCell Is Nothing Then Return
If _grd.ActiveCell Is Nothing OrElse _grd.Tree.SelectedNode Is Nothing Then Return
If _headNode Is Nothing Then Return
Dim node As RowNode = _headNode.RowList(_grd.ActiveCell.Row - _drawStartRow + 1)
@@ -1566,7 +1569,7 @@ Namespace UTSModule.Station
'更新控件
If nodeCount > 0 Then
_grd.Range(node.RowListIndex + 1, 0, node.RowListIndex + nodeCount, 0).DeleteByRow()
_grd.Tree.SelectedNode.Nodes.Clear()
End If
'其他操作
@@ -1585,7 +1588,7 @@ Namespace UTSModule.Station
Dim moveUpCount As Integer '上移动总量
If rows < 1 Then Return
If _grd.ActiveCell Is Nothing Then Return
If _grd.ActiveCell Is Nothing OrElse _grd.Tree.SelectedNode Is Nothing Then Return
If _headNode Is Nothing Then Return
@@ -1603,14 +1606,14 @@ Namespace UTSModule.Station
node.MoveUp()
UpdateGrid(moveDownRow, moveDownCount, moveUpRow, moveUpCount)
UpdateGrid(_grd.Tree.SelectedNode.PrevNode, _grd.Tree.SelectedNode)
_grd.Cell(node.RowListIndex, _grd.ActiveCell.Col).SetFocus()
End Sub
Public Sub NodeMoveDown()
If _grd.ActiveCell Is Nothing Then Return
If _grd.ActiveCell Is Nothing OrElse _grd.Tree.SelectedNode Is Nothing Then Return
If _headNode Is Nothing Then Return
Dim node As RowNode = _headNode.RowList(_grd.ActiveCell.Row - _drawStartRow + 1)
@@ -1628,11 +1631,54 @@ Namespace UTSModule.Station
node.MoveDown()
UpdateGrid(moveDownRow, moveDownCount, moveUpRow, moveUpCount)
UpdateGrid(_grd.Tree.SelectedNode, _grd.Tree.SelectedNode.NextNode)
_grd.Cell(node.RowListIndex, _grd.ActiveCell.Col).SetFocus()
End Sub
Private Sub UpdateGrid(srcNode As FlexCell.Node, targetNode As FlexCell.Node)
LockGridAutoRedraw()
_uploading = True
If srcNode.ChildCount >= targetNode.ChildCount Then
targetNode.Remove()
srcNode.Parent.Nodes.Insert(srcNode.Index, String.Empty)
Dim node As RowNode = _headNode.RowList(srcNode.PrevNode.Row)
UpdateGrid(_grd, node.RowListIndex, node)
'获取表格节点,添加其子节点
Dim pNode As FlexCell.Node = _grd.Tree.FindNode(node.RowListIndex)
AddGridTreeNode(pNode, node)
Else
srcNode.Remove()
targetNode.Parent.Nodes.Insert(targetNode.Index + 1, String.Empty)
Dim node As RowNode = _headNode.RowList(targetNode.NextNode.Row)
UpdateGrid(_grd, node.RowListIndex, node)
'获取表格节点,添加其子节点
Dim pNode As FlexCell.Node = _grd.Tree.FindNode(node.RowListIndex)
AddGridTreeNode(pNode, node)
End If
'节点修改
StationEditStatusMonitor.StationEditStatus = StationEditStatusMonitor.StationEditStatusEnum.Changed
_uploading = False
UnLockGridAutoRedraw()
End Sub
Private Sub AddGridTreeNode(pNode As FlexCell.Node, srcNode As RowNode)
For Each node As RowNode In srcNode.RowNodes
pNode.Nodes.Insert(node.RowIndex, "")
UpdateGrid(_grd, node.RowListIndex, node)
AddGridTreeNode(_grd.Tree.FindNode(node.RowListIndex), node)
Next
End Sub
Private Sub UpdateGrid(moveDownRow As Integer, moveDownCount As Integer, moveUpRow As Integer, moveUpCount As Integer)
LockGridAutoRedraw()
@@ -1670,22 +1716,35 @@ Namespace UTSModule.Station
Dim nextNode As RowNode
If rows < 1 Then Return
If _grd.ActiveCell Is Nothing Then Return
If _grd.ActiveCell Is Nothing OrElse _grd.Tree.SelectedNode Is Nothing Then Return
If _headNode Is Nothing Then Return
Dim moveLeftSatrtRow As Integer = _grd.ActiveCell.Row
Dim grdNode As FlexCell.Node
Dim grdParentNode As FlexCell.Node
LockGridAutoRedraw()
_uploading = True
For idx As Integer = 1 To rows
node = _headNode.RowList(moveLeftSatrtRow - _drawStartRow + 1)
Console.WriteLine($"Index:{node.RowListIndex}")
If node Is Nothing Then Return
If node.RowLever = 0 Then Return
If node.RowType = RowNode.RowTypeEnum.FixedModule Then Return
If node Is Nothing Then Exit For
If node.RowLever = 0 Then Exit For
If node.RowType = RowNode.RowTypeEnum.FixedModule Then Exit For
grdNode = _grd.Tree.FindNode(node.RowListIndex)
grdParentNode = grdNode.Parent
'更新内存
If node.NextNode Is Nothing Then
node.MoveLeft()
_grd.Refresh()
Return
grdNode.Remove()
grdParentNode.Parent.Nodes.Insert(grdParentNode.Index + 1, "")
UpdateGrid(_grd, node.RowListIndex, node)
AddGridTreeNode(_grd.Tree.FindNode(node.RowListIndex), node)
Exit For
End If
moveDownRow = node.RowListIndex '下移动前起始位置
moveDownCount = node.AllChildCount + 1 '下移动总量
@@ -1700,9 +1759,16 @@ Namespace UTSModule.Station
node.MoveLeft()
Console.WriteLine($"Node:{node.RowLever}")
Next
UpdateGrid(moveDownRow, moveDownCount, moveUpRow, moveUpCount)
grdNode.Remove()
grdParentNode.Parent.Nodes.Insert(grdParentNode.Index + 1, "")
UpdateGrid(_grd, node.RowListIndex, node)
AddGridTreeNode(_grd.Tree.FindNode(node.RowListIndex), node)
_grd.Cell(node.RowListIndex, _grd.ActiveCell.Col).SetFocus()
StationEditStatusMonitor.StationEditStatus = StationEditStatusMonitor.StationEditStatusEnum.Changed
Next
_uploading = False
UnLockGridAutoRedraw()
End Sub
@@ -1713,19 +1779,35 @@ Namespace UTSModule.Station
Dim node As RowNode
If rows < 1 Then Return
If _grd.ActiveCell Is Nothing Then Return
If _grd.ActiveCell Is Nothing OrElse _grd.Tree.SelectedNode Is Nothing Then Return
If _headNode Is Nothing Then Return
Dim grdNode As FlexCell.Node
Dim grdPreNode As FlexCell.Node
LockGridAutoRedraw()
_uploading = True
For idx As Integer = 1 To rows
node = _headNode.RowList(_grd.ActiveCell.Row - _drawStartRow + idx)
If node Is Nothing Then Return
If node.RowType = RowNode.RowTypeEnum.FixedModule Then Return
If node Is Nothing Then Exit For
If node.RowType = RowNode.RowTypeEnum.FixedModule Then Exit For
If node.RowIndex = 0 Then Exit For
grdNode = _grd.Tree.FindNode(node.RowListIndex)
grdPreNode = grdNode.PrevNode
node.MoveRight()
grdNode.Remove()
grdPreNode.Nodes.Add("", "")
UpdateGrid(_grd, node.RowListIndex, node)
AddGridTreeNode(_grd.Tree.FindNode(node.RowListIndex), node)
_grd.Cell(node.RowListIndex, _grd.ActiveCell.Col).SetFocus()
StationEditStatusMonitor.StationEditStatus = StationEditStatusMonitor.StationEditStatusEnum.Changed
Next
_uploading = False
UnLockGridAutoRedraw()
End Sub
#End Region
@@ -1864,7 +1946,7 @@ Namespace UTSModule.Station
Public Sub TestNodeChanged(node As RowNode)
_grd.Cell(node.RowListIndex, ColNames.Action).EnsureVisible()
_grd.Cell(node.RowListIndex, ColNames.Action).BackColor = Color.Blue
_grd.Range(node.RowListIndex,1,node.RowListIndex,_grd.Cols-1).SelectCells()
_grd.Range(node.RowListIndex, 1, node.RowListIndex, _grd.Cols - 1).SelectCells()
End Sub

View File

@@ -66,8 +66,8 @@
<Reference Include="FluentFTP, Version=33.0.3.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL">
<HintPath>..\packages\FluentFTP.33.0.3\lib\net45\FluentFTP.dll</HintPath>
</Reference>
<Reference Include="Google.Protobuf, Version=3.14.0.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Protobuf.3.14.0\lib\net45\Google.Protobuf.dll</HintPath>
<Reference Include="Google.Protobuf, Version=3.30.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Protobuf.3.30.1\lib\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4, Version=1.1.11.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Compression.LZ4.1.1.11\lib\net46\K4os.Compression.LZ4.dll</HintPath>
@@ -78,6 +78,9 @@
<Reference Include="K4os.Hash.xxHash, Version=1.0.6.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="MySql.Data, Version=8.0.26.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.8.0.26\lib\net48\MySql.Data.dll</HintPath>
@@ -85,12 +88,12 @@
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SharpCompress, Version=0.28.3.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
<HintPath>..\packages\SharpCompress.0.28.3\lib\netstandard2.0\SharpCompress.dll</HintPath>
<Reference Include="SharpCompress, Version=0.39.0.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
<HintPath>..\packages\SharpCompress.0.39.0\lib\net48\SharpCompress.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
<Reference Include="System.Buffers, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel" />
<Reference Include="System.ComponentModel.DataAnnotations" />
@@ -103,8 +106,8 @@
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
@@ -116,6 +119,9 @@
<Reference Include="System.Text.Encoding.CodePages, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Encoding.CodePages.5.0.0\lib\net461\System.Text.Encoding.CodePages.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
@@ -132,6 +138,9 @@
<Reference Include="Zstandard.Net, Version=1.1.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.8.0.26\lib\net48\Zstandard.Net.dll</HintPath>
</Reference>
<Reference Include="ZstdSharp, Version=0.8.4.0, Culture=neutral, PublicKeyToken=8d151af33a4ad5cf, processorArchitecture=MSIL">
<HintPath>..\packages\ZstdSharp.Port.0.8.4\lib\net462\ZstdSharp.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />

View File

@@ -53,7 +53,15 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
<bindingRedirect oldVersion="0.0.0.0-4.0.4.0" newVersion="4.0.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.30.1.0" newVersion="3.30.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -1,38 +1,173 @@
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.Buffers</name>
</assembly>
<members>
<member name="T:System.Buffers.ArrayPool`1">
<summary>Provides a resource pool that enables reusing instances of type <see cref="T[]"></see>.</summary>
<typeparam name="T">The type of the objects that are in the resource pool.</typeparam>
</member>
<member name="M:System.Buffers.ArrayPool`1.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class.</summary>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create">
<summary>Creates a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class.</summary>
<returns>A new instance of the <see cref="System.Buffers.ArrayPool`1"></see> class.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create(System.Int32,System.Int32)">
<summary>Creates a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class using the specifed configuration.</summary>
<param name="maxArrayLength">The maximum length of an array instance that may be stored in the pool.</param>
<param name="maxArraysPerBucket">The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access.</param>
<returns>A new instance of the <see cref="System.Buffers.ArrayPool`1"></see> class with the specified configuration.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Rent(System.Int32)">
<summary>Retrieves a buffer that is at least the requested length.</summary>
<param name="minimumLength">The minimum length of the array.</param>
<returns>An array of type <see cref="T[]"></see> that is at least <paramref name="minimumLength">minimumLength</paramref> in length.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)">
<summary>Returns an array to the pool that was previously obtained using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method on the same <see cref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
<param name="array">A buffer to return to the pool that was previously obtained using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method.</param>
<param name="clearArray">Indicates whether the contents of the buffer should be cleared before reuse. If <paramref name="clearArray">clearArray</paramref> is set to true, and if the pool will store the buffer to enable subsequent reuse, the <see cref="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)"></see> method will clear the <paramref name="array">array</paramref> of its contents so that a subsequent caller using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method will not see the content of the previous caller. If <paramref name="clearArray">clearArray</paramref> is set to false or if the pool will release the buffer, the array&amp;#39;s contents are left unchanged.</param>
</member>
<member name="P:System.Buffers.ArrayPool`1.Shared">
<summary>Gets a shared <see cref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
<returns>A shared <see cref="System.Buffers.ArrayPool`1"></see> instance.</returns>
</member>
</members>
</doc>
<?xml version="1.0"?>
<doc>
<assembly>
<name>System.Buffers</name>
</assembly>
<members>
<member name="T:System.Buffers.ArrayPool`1">
<summary>
Provides a resource pool that enables reusing instances of type <see cref="T:T[]"/>.
</summary>
<remarks>
<para>
Renting and returning buffers with an <see cref="T:System.Buffers.ArrayPool`1"/> can increase performance
in situations where arrays are created and destroyed frequently, resulting in significant
memory pressure on the garbage collector.
</para>
<para>
This class is thread-safe. All members may be used by multiple threads concurrently.
</para>
</remarks>
</member>
<member name="F:System.Buffers.ArrayPool`1.s_sharedInstance">
<summary>The lazily-initialized shared pool instance.</summary>
</member>
<member name="P:System.Buffers.ArrayPool`1.Shared">
<summary>
Retrieves a shared <see cref="T:System.Buffers.ArrayPool`1"/> instance.
</summary>
<remarks>
The shared pool provides a default implementation of <see cref="T:System.Buffers.ArrayPool`1"/>
that's intended for general applicability. It maintains arrays of multiple sizes, and
may hand back a larger array than was actually requested, but will never hand back a smaller
array than was requested. Renting a buffer from it with <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"/> will result in an
existing buffer being taken from the pool if an appropriate buffer is available or in a new
buffer being allocated if one is not available.
</remarks>
</member>
<member name="M:System.Buffers.ArrayPool`1.EnsureSharedCreated">
<summary>Ensures that <see cref="F:System.Buffers.ArrayPool`1.s_sharedInstance"/> has been initialized to a pool and returns it.</summary>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create">
<summary>
Creates a new <see cref="T:System.Buffers.ArrayPool`1"/> instance using default configuration options.
</summary>
<returns>A new <see cref="T:System.Buffers.ArrayPool`1"/> instance.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create(System.Int32,System.Int32)">
<summary>
Creates a new <see cref="T:System.Buffers.ArrayPool`1"/> instance using custom configuration options.
</summary>
<param name="maxArrayLength">The maximum length of array instances that may be stored in the pool.</param>
<param name="maxArraysPerBucket">
The maximum number of array instances that may be stored in each bucket in the pool. The pool
groups arrays of similar lengths into buckets for faster access.
</param>
<returns>A new <see cref="T:System.Buffers.ArrayPool`1"/> instance with the specified configuration options.</returns>
<remarks>
The created pool will group arrays into buckets, with no more than <paramref name="maxArraysPerBucket"/>
in each bucket and with those arrays not exceeding <paramref name="maxArrayLength"/> in length.
</remarks>
</member>
<member name="M:System.Buffers.ArrayPool`1.Rent(System.Int32)">
<summary>
Retrieves a buffer that is at least the requested length.
</summary>
<param name="minimumLength">The minimum length of the array needed.</param>
<returns>
An <see cref="T:T[]"/> that is at least <paramref name="minimumLength"/> in length.
</returns>
<remarks>
This buffer is loaned to the caller and should be returned to the same pool via
<see cref="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)"/> so that it may be reused in subsequent usage of <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"/>.
It is not a fatal error to not return a rented buffer, but failure to do so may lead to
decreased application performance, as the pool may need to create a new buffer to replace
the one lost.
</remarks>
</member>
<member name="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)">
<summary>
Returns to the pool an array that was previously obtained via <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"/> on the same
<see cref="T:System.Buffers.ArrayPool`1"/> instance.
</summary>
<param name="array">
The buffer previously obtained from <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"/> to return to the pool.
</param>
<param name="clearArray">
If <c>true</c> and if the pool will store the buffer to enable subsequent reuse, <see cref="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)"/>
will clear <paramref name="array"/> of its contents so that a subsequent consumer via <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"/>
will not see the previous consumer's content. If <c>false</c> or if the pool will release the buffer,
the array's contents are left unchanged.
</param>
<remarks>
Once a buffer has been returned to the pool, the caller gives up all ownership of the buffer
and must not use it. The reference returned from a given call to <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"/> must only be
returned via <see cref="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)"/> once. The default <see cref="T:System.Buffers.ArrayPool`1"/>
may hold onto the returned buffer in order to rent it again, or it may release the returned buffer
if it's determined that the pool already has enough buffers stored.
</remarks>
</member>
<member name="T:System.Buffers.ArrayPoolEventSource.BufferAllocatedReason">
<summary>The reason for a BufferAllocated event.</summary>
</member>
<member name="F:System.Buffers.ArrayPoolEventSource.BufferAllocatedReason.Pooled">
<summary>The pool is allocating a buffer to be pooled in a bucket.</summary>
</member>
<member name="F:System.Buffers.ArrayPoolEventSource.BufferAllocatedReason.OverMaximumSize">
<summary>The requested buffer size was too large to be pooled.</summary>
</member>
<member name="F:System.Buffers.ArrayPoolEventSource.BufferAllocatedReason.PoolExhausted">
<summary>The pool has already allocated for pooling as many buffers of a particular size as it's allowed.</summary>
</member>
<member name="M:System.Buffers.ArrayPoolEventSource.BufferRented(System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
Event for when a buffer is rented. This is invoked once for every successful call to Rent,
regardless of whether a buffer is allocated or a buffer is taken from the pool. In a
perfect situation where all rented buffers are returned, we expect to see the number
of BufferRented events exactly match the number of BuferReturned events, with the number
of BufferAllocated events being less than or equal to those numbers (ideally significantly
less than).
</summary>
</member>
<member name="M:System.Buffers.ArrayPoolEventSource.BufferAllocated(System.Int32,System.Int32,System.Int32,System.Int32,System.Buffers.ArrayPoolEventSource.BufferAllocatedReason)">
<summary>
Event for when a buffer is allocated by the pool. In an ideal situation, the number
of BufferAllocated events is significantly smaller than the number of BufferRented and
BufferReturned events.
</summary>
</member>
<member name="M:System.Buffers.ArrayPoolEventSource.BufferReturned(System.Int32,System.Int32,System.Int32)">
<summary>
Event raised when a buffer is returned to the pool. This event is raised regardless of whether
the returned buffer is stored or dropped. In an ideal situation, the number of BufferReturned
events exactly matches the number of BufferRented events.
</summary>
</member>
<member name="F:System.Buffers.DefaultArrayPool`1.DefaultMaxArrayLength">
<summary>The default maximum length of each array in the pool (2^20).</summary>
</member>
<member name="F:System.Buffers.DefaultArrayPool`1.DefaultMaxNumberOfArraysPerBucket">
<summary>The default maximum number of arrays per bucket that are available for rent.</summary>
</member>
<member name="F:System.Buffers.DefaultArrayPool`1.s_emptyArray">
<summary>Lazily-allocated empty array used when arrays of length 0 are requested.</summary>
</member>
<member name="P:System.Buffers.DefaultArrayPool`1.Id">
<summary>Gets an ID for the pool to use with events.</summary>
</member>
<member name="T:System.Buffers.DefaultArrayPool`1.Bucket">
<summary>Provides a thread-safe bucket containing buffers that can be Rent'd and Return'd.</summary>
</member>
<member name="M:System.Buffers.DefaultArrayPool`1.Bucket.#ctor(System.Int32,System.Int32,System.Int32)">
<summary>
Creates the pool with numberOfBuffers arrays where each buffer is of bufferLength length.
</summary>
</member>
<member name="P:System.Buffers.DefaultArrayPool`1.Bucket.Id">
<summary>Gets an ID for the bucket to use with events.</summary>
</member>
<member name="M:System.Buffers.DefaultArrayPool`1.Bucket.Rent">
<summary>Takes an array from the bucket. If the bucket is empty, returns null.</summary>
</member>
<member name="M:System.Buffers.DefaultArrayPool`1.Bucket.Return(`0[])">
<summary>
Attempts to return the buffer to the bucket. If successful, the buffer will be stored
in the bucket and true will be returned; otherwise, the buffer won't be stored, and false
will be returned.
</summary>
</member>
<member name="P:System.SR.ArgumentException_BufferNotFromPool">
<summary>The buffer is not associated with this pool and may not be returned to it.</summary>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

View File

@@ -53,7 +53,15 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
<bindingRedirect oldVersion="0.0.0.0-4.0.4.0" newVersion="4.0.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.30.1.0" newVersion="3.30.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

Binary file not shown.

View File

@@ -631,6 +631,12 @@ UTS_Core
</summary>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.OpenAsync">
<summary>
打开数据库连接
</summary>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.Close">
<summary>
关闭数据库连接
@@ -649,6 +655,13 @@ UTS_Core
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteNonQueryAsync(System.String)">
<summary>
运行非查询语句,返回执行该语句受到影响的行数
</summary>
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteNonQuery(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行非查询语句,返回执行该语句受到影响的行数
@@ -657,6 +670,14 @@ UTS_Core
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteNonQueryAsync(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行非查询语句,返回执行该语句受到影响的行数
</summary>
<param name="commandText">执行的数据库命令文本</param>
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteReader(System.String)">
<summary>
执行数据库语句,返回数据库读取流的句柄
@@ -664,6 +685,13 @@ UTS_Core
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteReaderAsync(System.String)">
<summary>
执行数据库语句,返回数据库读取流的句柄
</summary>
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteReader(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行数据库语句,返回数据库读取流的句柄
@@ -672,6 +700,14 @@ UTS_Core
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteReaderAsync(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行数据库语句,返回数据库读取流的句柄
</summary>
<param name="commandText">执行的数据库命令文本</param>
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteScalar(System.String)">
<summary>
执行数据库语句,返回查询结果的第一行第一列的内容
@@ -679,6 +715,13 @@ UTS_Core
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteScalarAsync(System.String)">
<summary>
执行数据库语句,返回查询结果的第一行第一列的内容
</summary>
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteScalar(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行数据库语句,返回查询结果的第一行第一列的内容
@@ -687,6 +730,14 @@ UTS_Core
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteScalarAsync(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行数据库语句,返回查询结果的第一行第一列的内容
</summary>
<param name="commandText">执行的数据库命令文本</param>
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteDataTable(System.String,System.Boolean)">
<summary>
执行数据库语句,返回执行结果返回的数据表,常用于查询命令

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
68190c7a4156fa2d5142e36b03d9444eaf23e061dbec77ed3001ee43fa053d20
c5e447f21e4566eafb50096c9ff8e17beb0c61abb20024da831ee1debf91f22c

View File

@@ -223,3 +223,9 @@ G:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.dll
G:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.xml
G:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.pdb
G:\Git\AUTS\UTS_Core\bin\Debug\FlexCell.dll
D:\ML\Wen\AUTS\UTS_Core\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll
D:\ML\Wen\AUTS\UTS_Core\bin\Debug\System.Threading.Tasks.Extensions.dll
D:\ML\Wen\AUTS\UTS_Core\bin\Debug\ZstdSharp.dll
D:\ML\Wen\AUTS\UTS_Core\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml
D:\ML\Wen\AUTS\UTS_Core\bin\Debug\SharpCompress.pdb
D:\ML\Wen\AUTS\UTS_Core\bin\Debug\System.Threading.Tasks.Extensions.xml

View File

@@ -631,6 +631,12 @@ UTS_Core
</summary>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.OpenAsync">
<summary>
打开数据库连接
</summary>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.Close">
<summary>
关闭数据库连接
@@ -649,6 +655,13 @@ UTS_Core
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteNonQueryAsync(System.String)">
<summary>
运行非查询语句,返回执行该语句受到影响的行数
</summary>
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteNonQuery(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行非查询语句,返回执行该语句受到影响的行数
@@ -657,6 +670,14 @@ UTS_Core
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteNonQueryAsync(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行非查询语句,返回执行该语句受到影响的行数
</summary>
<param name="commandText">执行的数据库命令文本</param>
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteReader(System.String)">
<summary>
执行数据库语句,返回数据库读取流的句柄
@@ -664,6 +685,13 @@ UTS_Core
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteReaderAsync(System.String)">
<summary>
执行数据库语句,返回数据库读取流的句柄
</summary>
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteReader(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行数据库语句,返回数据库读取流的句柄
@@ -672,6 +700,14 @@ UTS_Core
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteReaderAsync(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行数据库语句,返回数据库读取流的句柄
</summary>
<param name="commandText">执行的数据库命令文本</param>
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteScalar(System.String)">
<summary>
执行数据库语句,返回查询结果的第一行第一列的内容
@@ -679,6 +715,13 @@ UTS_Core
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteScalarAsync(System.String)">
<summary>
执行数据库语句,返回查询结果的第一行第一列的内容
</summary>
<param name="commandText">执行的数据库命令文本</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteScalar(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行数据库语句,返回查询结果的第一行第一列的内容
@@ -687,6 +730,14 @@ UTS_Core
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteScalarAsync(System.String,System.Data.Common.DbParameterCollection)">
<summary>
使用命令参数模式执行数据库语句,返回查询结果的第一行第一列的内容
</summary>
<param name="commandText">执行的数据库命令文本</param>
<param name="commandParams">执行的数据库命令参数</param>
<returns></returns>
</member>
<member name="M:UTS_Core.Database.DbExecutor.ExecuteDataTable(System.String,System.Boolean)">
<summary>
执行数据库语句,返回执行结果返回的数据表,常用于查询命令

View File

@@ -2,16 +2,19 @@
<packages>
<package id="BouncyCastle" version="1.8.5" targetFramework="net48" />
<package id="FluentFTP" version="33.0.3" targetFramework="net48" />
<package id="Google.Protobuf" version="3.14.0" targetFramework="net48" />
<package id="Google.Protobuf" version="3.30.1" targetFramework="net48" />
<package id="K4os.Compression.LZ4" version="1.1.11" targetFramework="net48" />
<package id="K4os.Compression.LZ4.Streams" version="1.1.11" targetFramework="net48" />
<package id="K4os.Hash.xxHash" version="1.0.6" targetFramework="net48" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net48" />
<package id="MySql.Data" version="8.0.26" targetFramework="net48" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net48" />
<package id="SharpCompress" version="0.28.3" targetFramework="net48" />
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
<package id="System.Memory" version="4.5.4" targetFramework="net48" />
<package id="SharpCompress" version="0.39.0" targetFramework="net48" />
<package id="System.Buffers" version="4.6.0" targetFramework="net48" />
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net48" />
<package id="System.Text.Encoding.CodePages" version="5.0.0" targetFramework="net48" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
<package id="ZstdSharp.Port" version="0.8.4" targetFramework="net48" />
</packages>