IDatasetImporter interface

Defines the interface for a dataset importer. Each implementation of this interface "understands" a particular data format (XML, JSON, CSV, etc)

public interface Korzh.DbUtils.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.
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