EDMI: clean up service
This commit is contained in:
parent
ebc482b7b2
commit
7bf03b303b
@ -239,8 +239,8 @@ Public Class EDMIService
|
||||
Using oSource As FileStream = IO.File.OpenRead(oFullPath)
|
||||
oSource.CopyTo(oDestination)
|
||||
End Using
|
||||
|
||||
oDestination.Seek(0, SeekOrigin.Begin)
|
||||
|
||||
Dim oMessage As New Messages.DocumentStreamResponse() With {
|
||||
.FileName = oFileInfo.Name,
|
||||
.FileContents = oDestination
|
||||
|
||||
@ -27,26 +27,6 @@ Interface IEDMIService
|
||||
Function ExecuteNonQuery(SQL As String) As NonQueryResult
|
||||
#End Region
|
||||
|
||||
#Region "Document (with FileContainer)"
|
||||
'<OperationContract>
|
||||
'Function NewFile(FileName As String, Contents As Byte()) As DocumentResultOld
|
||||
|
||||
'<OperationContract>
|
||||
'Function UpdateFile(DocObject As DocumentObject, Contents As Byte()) As DocumentResultOld
|
||||
|
||||
'<OperationContract>
|
||||
'Function GetFile(DocObject As DocumentObject) As DocumentResultOld
|
||||
|
||||
'<OperationContract>
|
||||
'Function DeleteFile(DocObject As DocumentObject) As Boolean
|
||||
|
||||
'<OperationContract>
|
||||
'Function GetDocumentByDocumentId(DocumentId As Int64) As DocumentResultOld
|
||||
|
||||
'<OperationContract>
|
||||
'Function GetDocumentByContainerId(ContainerId As String) As DocumentResultOld
|
||||
#End Region
|
||||
|
||||
#Region "Document (New)"
|
||||
<OperationContract>
|
||||
Function ImportFile(Data As Messages.DocumentImportRequest) As Messages.DocumentImportResponse
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user