EDMIService: Send extension with GetFileObject
This commit is contained in:
parent
6373c69f2b
commit
a83b22d923
@ -27,11 +27,13 @@ Namespace Methods.GetFileObject
|
|||||||
Dim oRow As DataRow = oTable.First()
|
Dim oRow As DataRow = oTable.First()
|
||||||
Dim oFileHash As String = oRow.ItemEx("FILE_HASH", "")
|
Dim oFileHash As String = oRow.ItemEx("FILE_HASH", "")
|
||||||
Dim oFileSize As Long = oRow.ItemEx(Of Long)("FILE_SIZE", 0)
|
Dim oFileSize As Long = oRow.ItemEx(Of Long)("FILE_SIZE", 0)
|
||||||
|
Dim oFileExtension As String = oRow.ItemEx(Of String)("EXTENSION")
|
||||||
|
|
||||||
Dim oFileObject As New FileObject With {
|
Dim oFileObject As New FileObject With {
|
||||||
.ObjectId = pData.ObjectId,
|
.ObjectId = pData.ObjectId,
|
||||||
.FileHash = oFileHash,
|
.FileHash = oFileHash,
|
||||||
.FileSize = oFileSize
|
.FileSize = oFileSize,
|
||||||
|
.FileExtension = oFileExtension
|
||||||
}
|
}
|
||||||
|
|
||||||
If pData.LoadFileContents = True Then
|
If pData.LoadFileContents = True Then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user