XmlDatasetExporter class

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

public class Korzh.DbUtils.Export.XmlDatasetExporter
    : 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 XML
void WriteDatasetSchema(XmlTextWriter writer, IDataReader dataReader) Writes the table schema.