OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MSysMan.ImportExport.WebConnectors.TImportExportWebConnector Class Reference

import and export of all data in this database More...

Static Public Member Functions

static bool ExportAllTables (out string ADataYmlGzBase64)
 return a compressed XmlDocument with all data in this database; this is useful to convert data between different database systems, etc More...
 
static bool ResetDatabase (string AZippedNewDatabaseData)
 this will reset the current database, and load the data from the given XmlDocument More...
 
static bool SaveTDS (SampleDataConstructorTDS dataTDS)
 Commits the given SampleDataConstructorTDS TDS to the database More...
 

Detailed Description

import and export of all data in this database

Member Function Documentation

◆ ExportAllTables()

static bool Ict.Petra.Server.MSysMan.ImportExport.WebConnectors.TImportExportWebConnector.ExportAllTables ( out string  ADataYmlGzBase64)
inlinestatic

return a compressed XmlDocument with all data in this database; this is useful to convert data between different database systems, etc

Returns

◆ ResetDatabase()

static bool Ict.Petra.Server.MSysMan.ImportExport.WebConnectors.TImportExportWebConnector.ResetDatabase ( string  AZippedNewDatabaseData)
inlinestatic

this will reset the current database, and load the data from the given XmlDocument

Parameters
AZippedNewDatabaseDatazipped YML
Returns

◆ SaveTDS()

static bool Ict.Petra.Server.MSysMan.ImportExport.WebConnectors.TImportExportWebConnector.SaveTDS ( SampleDataConstructorTDS  dataTDS)
inlinestatic

Commits the given SampleDataConstructorTDS TDS to the database

Why did I have to spend several hours trying to get into how OpenPetra does things just in order to add this one line?

Parameters
dataTDS
Returns

The documentation for this class was generated from the following file: