XmlDatasetImporter class

Represents the dataset importer from XML format Implements the Korzh.DbUtils.IDatasetImporter

public class Korzh.DbUtils.Import.XmlDatasetImporter
    : IDatasetImporter


Type Name Description
String FileExtension Gets the default file extension for the data format processed by this importer (e.g "xml" or "json").


Type Name Description
void FinishImport() Finilizing the importing process.
Boolean HasRecords() Determines whether there are more records to process in the input stream.
IDataRecord NextRecord() Processes the next record in the input stream and returns it to the caller.
void ReadOneRecordField(DataRecord record, String fieldName) Reads one field in the specified record by its (field) name
void ReadRecordFields(DataRecord record) Reads the record fields.
void ReadSchema() Reads the dataset schema.
DatasetInfo StartImport(Stream datasetStream) Starts the importing process. This function processes the first part of the dataset stream and collect necessary information about the dataset