[]
        
(Showing Draft Content)

C1.C1Preview.DataBinding.C1DataSchema

C1DataSchema Class

Represents a data schema of a C1PrintDocument.

Inheritance
C1DataSchema
Namespace: C1.C1Preview.DataBinding
Assembly: C1.PrintDocument.8.dll
Syntax
[C1ClassSerialization(true)]
public class C1DataSchema
Remarks

This class contains:

  • The list of data sources associated with the document
  • DataSourcesThe collection of data sources associated with the current document. Each element in that collection determines how to connect to an external data source (connection string etc.).
  • DataSetsThe collection of available data sets (tables, SQL queries).
  • AggregatesThe collection of aggregates defined on the data.

Properties

Name Description
Aggregates

Gets the collection of named Aggregate objects defined on the current data schema.

DataSets

Gets the collection of data sets provided by the current data schema.

A DataSet from this collection can be assigned to the DataSource property on DataBinding of a RenderObject, or on DataBinding of a table row or column group (TableVector).

DataSources

Gets the collection of DataSource objects associated with the current data schema. Those data sources are used to provide data for elements of the DataSets collection.

Owner

Gets the C1PrintDocument containing the current data schema.

Methods

Name Description
Clear()

Clears the current data schema, deletes all associated data sets, data sources and aggregates.