[]
        
(Showing Draft Content)

C1.C1Preview.DataBinding.DataSet

DataSet Class

Represents a data set used by a data-bound element of a C1PrintDocument.

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

Constructors

Name Description
DataSet()

Initializes a new instance of the DataSet class.

DataSet(DataSource, string)

Initializes a new instance of the DataSet class, assigning the data source and the SQL query.

Properties

Name Description
Fields

Gets the collection of DataSetField objects describing fields of the current data set. If this collection is empty, all fields fetched by the query will be accessible on the data set.

Filters

Gets the collection of Expression objects applied to the fetched records to filter them for the current data set.

MaxRecords

Gets or sets the maximum number of records that will be fetched from the data set. The default is -1, which includes all records.

Name

Gets or sets the name of the current DataSet. That name can be used in aggregate functions to indicate which data set the aggregate refers to.

Owner

Gets the DataSetCollection containing the current data set.

Query

Gets the Query object for the current data set.

RowFilter

Gets or sets the expression used to filter which data rows are included in the current data set. This property is be assigned to the RowFilter property of the underlying DataTable object.

Methods

Name Description
AssignFrom(DataSet)

Assigns (copies) properties from another DataSet to the current object.

See Also