Show / Hide Table of Contents

    DataStoreDataExtensions class

    .NET Standard 2.x

    Namespace: DWNet.Data

    Assembly: DWNet.Data.dll

    Provides methods which correspond to those in PowerBuilder DataStore, to support scripts migrated from PowerBuilder to C#.

    Syntax

    public class DataStoreDataExtensions
    

    Extensions Methods

    Name Return Type Description
    ExportJson(MappingMethod mappingMethod) string Exports data from the DataStore primary buffer to a DataWindow JSON string.
    ExportJson(bool changeOnly, MappingMethod mappingMethod) string Exports all rows or only the changed rows from the DataStore to a DataWindow JSON string.
    ExportJson(DwBuffer dwbuffer, bool changedOnly, MappingMethod mappingMethod) string Exports all rows or only the changed rows from all or specified buffers to a DataWindow JSON string.
    ExportJson(bool primaryData, bool filterData, bool deleteData, bool dwcdata, MappingMethod mappingMethod) string Exports data from the specified buffer(s) and/or DataWindowChild to a DataWindow JSON string.
    ExportJson(DwBuffer dwbuffer, MappingMethod mappingMethod) string Exports data from the specified buffer to a DataWindow JSON string.
    ExportJson(DwBuffer dwbuffer, int startRow, MappingMethod mappingMethod) string Exports the rows (from the specified starting position to the end) from the specified buffer to a DataWindow JSON string.
    ExportJson(DwBuffer dwbuffer, int startRow, int endRow, MappingMethod mappingMethod) string Exports the rows (from the specified starting position to the ending position) from the specified buffer to a DataWindow JSON string.
    ExportJson(DwBuffer dwbuffer, int startRow, int endRow, short startColumn, MappingMethod mappingMethod) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the end) from the specified buffer to a DataWindow JSON string.
    ExportJson(DwBuffer dwbuffer, int startRow, int endRow, short startColumn, short endColumn, MappingMethod mappingMethod) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the ending position) from the specified buffer to a DataWindow JSON string.
    ExportPlainJson() string Exports data from the DataStore primary buffer to a plain-format JSON string.
    ExportPlainJson(bool changeOnly) string Exports all rows or only the changed rows from the DataStore to a plain-format JSON string.
    ExportPlainJson(DwBuffer dwbuffer, bool changedOnly) string Exports all rows or only the changed rows from all or specified buffers to a plain-format or DataWindow JSON string.
    ExportPlainJson(bool primaryData, bool filterData, bool deleteData, bool dwcdata) string Exports data from the specified buffer(s) and/or DataWindowChild to a plain-format JSON string.
    ExportPlainJson(DwBuffer dwbuffer) string Exports data from the specified buffer to a plain-format JSON string.
    ExportPlainJson(DwBuffer dwbuffer, int startRow) string Exports the rows (from the specified starting position to the end) from the specified buffer to a plain-format JSON string.
    ExportPlainJson(DwBuffer dwbuffer, int startRow, int endRow) string Exports the rows (from the specified starting position to the ending position) from the specified buffer to a plain-format JSON string.
    ExportPlainJson(DwBuffer dwbuffer, int startRow, int endRow, short startColumn) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the end) from the specified buffer to a plain-format JSON string.
    ExportPlainJson(DwBuffer dwbuffer, int startRow, int endRow, short startColumn, short endColumn) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the ending position) from the specified buffer to a plain-format JSON string.
    ExportPlainXml() string Exports data from the DataStore primary buffer to a plain-format XML string.
    ExportPlainXml(bool changeOnly) string Exports all rows or only the changed rows from the DataStore to a plain-format XML string.
    ExportPlainXml(DwBuffer dwbuffer, bool changedOnly) string Exports all rows or only the changed rows from all or specified buffers to a plain-format or DataWindow XML string.
    ExportPlainXml(bool primaryData, bool filterData, bool deleteData, bool dwcdata) string Exports data from the specified buffer(s) and/or DataWindowChild to a plain-format XML string.
    ExportPlainXml(DwBuffer dwbuffer) string Exports data from the specified buffer to a plain-format XML string.
    ExportPlainXml(DwBuffer dwbuffer, int startRow) string Exports the rows (from the specified starting position to the end) from the specified buffer to a plain-format XML string.
    ExportPlainXml(DwBuffer dwbuffer, int startRow, int endRow) string Exports the rows (from the specified starting position to the ending position) from the specified buffer to a plain-format XML string.
    ExportPlainXml(DwBuffer dwbuffer, int startRow, int endRow, short startColumn) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the end) from the specified buffer to a plain-format XML string.
    ExportPlainXml(DwBuffer dwbuffer, int startRow, int endRow, short startColumn, short endColumn) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the ending position) from the specified buffer to a plain-format XML string.
    ExportRowAsJson(int row, DwBuffer dwBuffer = DwBuffer.Primary) string Exports a data row from the specified buffer of a DataStore object to the JSON string.
    ExportRowAsString(int row, DwBuffer dwBuffer = DwBuffer.Primary) string Exports a data row from the specified buffer of a DataStore object to the TXT string.
    ExportRowAsXml(int row, DwBuffer dwBuffer = DwBuffer.Primary) string Exports a data row from the specified buffer of a DataStore object to the XML string.
    ExportString(this IDataStoreBase dataStore, bool colheading = true) string Exports all of the data rows from the primary buffer of the DataStore to a string. The column name is exported by default.
    ExportString(this IDataStoreBase dataStore, int startRow, int endRow, bool colheading = true) string Exports the rows (from the specified starting position to the ending position) from the primary buffer of the DataStore to a string. The column name is exported by default.
    ExportString(this IDataStoreBase dataStore, int startRow, int endRow, short startColumn, short endColumn, bool colheading = true) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the ending position) from the primary buffer of the DataStore to a string. The column name is exported by default.
    ExportXml(MappingMethod mappingMethod) string Exports data from the DataStore primary buffer to a DataWindow XML string.
    ExportXml(bool changeOnly, MappingMethod mappingMethod) string Exports all rows or only the changed rows from the DataStore to a DataWindow XML string.
    ExportXml(DwBuffer dwbuffer, bool changedOnly, MappingMethod mappingMethod) string Exports all rows or only the changed rows from all or specified buffers to a DataWindow XML string.
    ExportXml(bool primaryData, bool filterData, bool deleteData, bool dwcdata, MappingMethod mappingMethod) string Exports data from the specified buffer(s) and/or DataWindowChild to a DataWindow XML string.
    ExportXml(DwBuffer dwbuffer, MappingMethod mappingMethod) string Exports data from the specified buffer to a DataWindow XML string.
    ExportXml(DwBuffer dwbuffer, int startRow, MappingMethod mappingMethod) string Exports the rows (from the specified starting position to the end) from the specified buffer to a DataWindow XML string.
    ExportXml(DwBuffer dwbuffer, int startRow, int endRow, MappingMethod mappingMethod) string Exports the rows (from the specified starting position to the ending position) from the specified buffer to a DataWindow XML string.
    ExportXml(DwBuffer dwbuffer, int startRow, int endRow, short startColumn, MappingMethod mappingMethod) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the end) from the specified buffer to a DataWindow XML string.
    ExportXml(DwBuffer dwbuffer, int startRow, int endRow, short startColumn, short endColumn, MappingMethod mappingMethod) string Exports the rows (from the specified starting position to the ending position) and the columns (from the specified starting position to the ending position) from the specified buffer to a DataWindow XML string.
    ImportJson(string Json) int Inserts data from a JSON string into the DataStore.
    ImportJson(string Json, DwBuffer dwbuffer) int Inserts data from a JSON string into the specified buffer of DataStore.
    ImportJson(string Json, DwBuffer dwbuffer, int startRow) int Inserts data from a JSON string into the specified buffer of DataStore. You can specify the starting position in the JSON array.
    ImportJson(string Json, DwBuffer dwbuffer, int startRow, int endRow) int Inserts data from a JSON string into the specified buffer of DataStore. You can specify the starting and ending position in the JSON array.
    ImportJson(string Json, DwBuffer dwbuffer, int startRow, int endRow, int startColumn) int Inserts data from a JSON string into the specified buffer of DataStore. You can specify the starting and ending positions in the JSON array, and you can specify the number of the first key value in the JSON object to be imported.
    ImportJson(string Json, DwBuffer dwbuffer, int startRow, int endRow, int startColumn, int endColumn) int Inserts data from a JSON string into the specified buffer of DataStore. You can specify the starting and ending positions in the JSON array, and you can specify the number of the first key value and the number of the last key value in the JSON object to be imported.
    ImportJson(string Json, DwBuffer dwbuffer, int startRow, int endRow, int startColumn, int endColumn, int dwStartColumn) int Inserts data from a JSON string into the specified buffer of DataStore. You can specify the starting and ending positions in the JSON array, and specify the number of the first key value and the number of the last key value in the JSON object to be imported. You can also specify the number of the first column in the DataStore that should receive data.
    ImportJsonByKey(string Json) int Inserts data from a JSON string into the DataStore according to the key name of the JSON item.
    ImportJsonByKey(string Json, DwBuffer dwbuffer) int Inserts data from a JSON string into the specified buffer of DataStore according to the key name of the JSON item.
    ImportJsonByKey(string Json, DwBuffer dwbuffer, int startRow) int Inserts data from a JSON string into the specified buffer of DataStore according to the key name of the JSON item. You can specify the starting position in the JSON array.
    ImportJsonByKey(string Json, DwBuffer dwbuffer, int startRow, int endRow) int Inserts data from a JSON string into the specified buffer of DataStore according to the key name of the JSON item. You can specify the starting and ending positions in the JSON array.
    ImportRowFromJson(string text, int row, DwBuffer dwBuffer = DwBuffer.Primary) int Inserts a data row from a JSON string into a DataStore object.
    ImportRowFromString(string text, int row, DwBuffer dwBuffer = DwBuffer.Primary) int Inserts a data row from a TXT string into a DataStore object.
    ImportRowFromXml(string text, int row, DwBuffer dwBuffer = DwBuffer.Primary) int Inserts a data row from an XML string into a DataStore object.
    ImportString(string value) int Inserts the tab-separated data from a string into the DataStore.
    ImportString(string value, int startRow) int Inserts the tab-separated data from a string into the DataStore. You can specify the starting row in the string.
    ImportString(string value, int startRow, int endRow) int Inserts the tab-separated data from a string into the DataStore. You can specify the starting and ending rows in the string.
    ImportString(string value, int startRow, int endRow, short startColumn) int Inserts the tab-separated data from a string into the DataStore. You can specify the starting and ending rows in the string, and specify the number of the first column in the string to be imported.
    ImportString(string value, int startRow, int endRow, short startColumn, short endColumn) int Inserts the tab-separated data from a string into the DataStore. You can specify the starting and ending rows in the string, and specify the number of the first column and the number of the last column in the string to be imported.
    ImportString(string value, int startRow, int endRow, short startColumn, short endColumn, short dwStartColumn) int Inserts the tab-separated data from a string into the DataStore. You can specify the starting and ending rows in the string, and specify the number of the first column and the number of the last column in the string to be imported. You can also specify the number of the first column in the DataStore that should receive data.
    ImportXml(string XML) int Inserts data from an XML string into the DataStore.
    ImportXml(string XML, DwBuffer dwbuffer) int Inserts data from an XML string into the specified buffer of DataStore.
    ImportXml(string XML, DwBuffer dwbuffer, int startRow) int Inserts data from an XML string into the specified buffer of DataStore. You can specify the starting position in the XML array.
    ImportXml(string XML, DwBuffer dwbuffer, int startRow, int endRow) int Inserts data from an XML string into the specified buffer of DataStore. You can specify the starting and ending position in the XML array.
    ImportXml(string XML, DwBuffer dwbuffer, int startRow, int endRow, int startColumn) int Inserts data from an XML string into the specified buffer of DataStore. You can specify the starting and ending positions in the XML array, and you can specify the number of the first key value in the XML object to be imported.
    ImportXml(string XML, DwBuffer dwbuffer, int startRow, int endRow, int startColumn, int endColumn) int Inserts data from an XML string into the specified buffer of DataStore. You can specify the starting and ending positions in the XML array, and you can specify the number of the first key value and the number of the last key value in the XML object to be imported.
    ImportXml(string XML, DwBuffer dwbuffer, int startRow, int endRow, int startColumn, int endColumn, int dwStartColumn) int Inserts data from an XML string into the specified buffer of DataStore. You can specify the starting and ending positions in the XML array, and specify the number of the first key value and the number of the last key value in the XML object to be imported. You can also specify the number of the first column in the DataStore that should receive data.
    ImportXmlByKey(string XML) int Inserts data from an XML string into the DataStore according to the key name of the XML item.
    ImportXmlByKey(string XML, DwBuffer dwbuffer) int Inserts data from an XML string into the specified buffer of DataStore according to the key name of the XML item.
    ImportXmlByKey(string XML, DwBuffer dwbuffer, int startRow) int Inserts data from an XML string into the specified buffer of DataStore according to the key name of the XML item. You can specify the starting position in the XML array.
    ImportXmlByKey(string XML, DwBuffer dwbuffer, int startRow, int endRow) int Inserts data from an XML string into the specified buffer of DataStore according to the key name of the XML item. You can specify the starting and ending positions in the XML array.
    Back to top Generated by Appeon