Click or drag to resize

clsImportFile Class

Import a file direkt to the database. Table MPDokumente for files and MPBilder for pictures

Please use clsImportDocument to add a file to the folder mechanism

Inheritance Hierarchy
SystemObject
  MARIInterfaceclsImportBase
    MARIInterfaceclsImportFile

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
public class clsImportFile : clsImportBase

The clsImportFile type exposes the following members.

Constructors
  NameDescription
Public methodclsImportFile
Initializes a new instance of the clsImportFile class
Top
Properties
  NameDescription
Public propertyContentBytes
Content of the file as a byte array
Public propertyCreateDate
Readonly info from the table, when the row has been stored
Public propertyDocDate
DocDate
Public propertyDocID
Key field on of the two tables
Public propertyDocumentType
Mandator: disginguish between a file and a picture. Will define the table to be used. See clsImportDocumenteDocumentType
Public propertyFileExtension
Document_type file extension .pdf or .gif. If empty it will be computed from the FileName
Public propertyFileLength
Read only from content
Public propertyFileName
filename without path, but with extension
Public propertyMimeType
mandatory: application/pdf
Public propertyPathName
Path to source file, qrquired, if byte array ContentBytes is null
Public propertyReadOnly
Readonly: always false
Public propertySourceClassID
Public propertyVersionID
Internal versionin of the same file
Top
Methods
See Also