update service and api
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Imports System.ServiceModel
|
||||
Imports System.IO
|
||||
Imports System.ServiceModel
|
||||
Imports DigitalData.Modules.Filesystem
|
||||
|
||||
<ServiceContract([Namespace]:="http://DigitalData.Services.IDBService")>
|
||||
@@ -26,7 +27,7 @@ Interface IIDBService
|
||||
Function ExecuteNonQuery(SQL As String) As NonQueryResult
|
||||
#End Region
|
||||
|
||||
#Region "Document"
|
||||
#Region "Document (with FileContainer)"
|
||||
<OperationContract>
|
||||
Function NewFile(FileName As String, Contents As Byte()) As DocumentResult
|
||||
|
||||
@@ -38,8 +39,11 @@ Interface IIDBService
|
||||
|
||||
<OperationContract>
|
||||
Function DeleteFile(DocObject As DocumentObject) As Boolean
|
||||
#End Region
|
||||
|
||||
|
||||
#Region "Document (New)"
|
||||
<OperationContract>
|
||||
Function ImportFile(FileInfo As FileInfo, Contents As Byte()) As DocumentResult2
|
||||
#End Region
|
||||
|
||||
#Region "Utils"
|
||||
|
||||
Reference in New Issue
Block a user