JsonDatasetExporter class

Represents an implmentation of Korzh.DbUtils.IDatasetExporter which stores the conten of some dataset to JSON format.

public class Korzh.DbUtils.Export.JsonDatasetExporter
    : IDatasetExporter

Properties

Type Name Description
String FileExtension Gets the default file extension for the current exporting format.

Methods

Type Name Description
void ExportDataset(IDataReader dataReader, Stream outStream, DatasetInfo dataset = null) Exports the dataset's content to JSON
void WriteSchemaProperties(JsonWriter writer, IDataReader dataReader) Writes the table schema.