company logo

DBObjectHandle :: Import - Import data from XML or OIF

Import allows importing data for one or more extents from an external file. Data can be imported from XML, CSV (ESDF) or OIF format. The import format type will be derived from the file extension. The extension .xml causes import from an xml format file. .csv and .esdf will export data from an extended self delimiter format (ESDF) file. All other extensions will refer to an object interchange format (OIF) file.

All data from the input file, which can be mapped to database entities, will be imported. Mapping rules and input file structure can be defined in the definition section (header) of the import file.

Return value:  Success ( logical  )

Implementation details

logical DBObjectHandle  :: Import ( NPath &cpath, COPY_Options copy_type=COPY_all )
  • cpath - Complete file or directory path
  • copy_type - Copy type

    The copy type determines the way of copying instances. Depending on import, export or copy processes, the meaning differs slightly.

    Default: COPY_all