Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
DataColumn.cpp
DataColumn.h
DataRow.cpp
DataRow.h
DataSet.cpp
DataSet.h
DataTable.cpp
DataTable.h
README.md

README.md

STTP Data Sets

A data set represents an in-memory cache of records that is structured similarly to information defined in a database. The data set object consists of a collection of data table objects.

Data tables define of collection of data columns where each data column defines a name and data type. Data columns can also be computed where its value would be derived from other columns and functions defined in an expression.

Data tables also define a set of data rows where each data row defines a record of information with a field value for each defined data column. Each field value can be null regardless of the defined data column type.

A data set schema and associated records can be read and written data from XML documents. The XML specification used for serialization is the standard for W3C XML Schema Definition Language (XSD). See the ReadXml and WriteXml functions.

ℹ️ The STTP data set functionality is modeled after, and generally interoperable with, the .NET DataSet. Serialized XML schemas and data saved from a .NET DataSet can be successfully parsed from an STTP data set and vice versa. Note that STTP requires that the schema be included with serialized XML data sets, see XmlWriteMode.WriteSchema. STTP does not attempt to infer a schema from the data. Interoperability with .NET XML schemas also includes DataColumn expression functionality, however, STTP defines more functions than the .NET implementation, so a serialized STTP data set that includes column expressions using functions not available to a .NET DataColumn will fail to evaluate when accessed from within .NET. Another difference from .NET is that the STTP implementation is always case-insensitive for table and column name lookups as the primary use-case for STTP data sets is for use with filter expressions.

You can’t perform that action at this time.