48 lines
1.3 KiB
VB.net
48 lines
1.3 KiB
VB.net
Imports System.ServiceModel
|
|
Imports DigitalData.Modules.Filesystem
|
|
|
|
<ServiceContract([Namespace]:="http://DigitalData.Services.EDMService")>
|
|
Interface IEDMService
|
|
|
|
#Region "Heartbeat"
|
|
<OperationContract>
|
|
Function Heartbeat() As Boolean
|
|
#End Region
|
|
|
|
#Region "Database"
|
|
<OperationContract>
|
|
Function CreateDatabaseRequest(Name As String, Optional Debug As Boolean = False) As String
|
|
|
|
<OperationContract>
|
|
Sub CloseDatabaseRequest()
|
|
|
|
<OperationContract>
|
|
Function ReturnDatatable(SQL As String) As TableResult
|
|
|
|
<OperationContract>
|
|
Function ReturnScalar(SQL As String) As ScalarResult
|
|
|
|
<OperationContract>
|
|
Function ExecuteNonQuery(SQL As String) As NonQueryResult
|
|
#End Region
|
|
|
|
#Region "Document"
|
|
<OperationContract>
|
|
Function CreateFile(FileName As String, Contents As Byte()) As DocumentResult
|
|
|
|
<OperationContract>
|
|
Function UpdateFile(DocObject As DocumentObject, Contents As Byte()) As DocumentResult
|
|
|
|
<OperationContract>
|
|
Function GetFile(DocObject As DocumentObject) As DocumentResult
|
|
|
|
<OperationContract>
|
|
Function DeleteFile(DocObject As DocumentObject) As Boolean
|
|
#End Region
|
|
|
|
#Region "Index"
|
|
<OperationContract>
|
|
Function SetFileIndex(DocObject As DocumentObject, Syskey As String, Value As String)
|
|
#End Region
|
|
|
|
End Interface |