The C1OlapEngine type exposes the following members.

Constructors

  Name Description
Public method C1OlapEngine
Initializes a new instance of a C1OlapEngine.

Methods

  Name Description
Public method BeginUpdate
Suspend automatic updates to the output table while defining the Olap view.
Public method EndUpdate
Restore automatic updates to the output table after the Olap view has been defined.
Public method GetDetail(DataRow, DataColumn)
Gets a list of objects in the raw data source that define the content of a specific cell in the output table exposed by the OlapTable property.
Public method GetDetail(DataRow, String)
Gets a list of objects in the raw data source that define the content of a specific cell in the output table exposed by the OlapTable property.
Public method GetOlapKey(DataColumn)
Gets the C1OlapKey associated with a DataColumn on an Olap table.
Public method GetOlapKey(DataRow)
Gets the C1OlapKey associated with a DataRow on an Olap table.
Public method GetViewTitle()()()()
Gets a string with a title describing the current view.
Public method GetViewTitle(String, String)
Gets a localized string with a title describing the current view.
Public method ReadXml(String)
Reads an Olap view definition from a file.
Public method ReadXml(XmlReader)
Reads an Olap view definition from an XmlReader.
Public method TransposeFields
Transposes the fields in the current view so rows become columns and columns become rows.
Public method Update
Causes the C1OlapEngine to rebuild the output table exposed by the OlapTable property.
Public method WriteXml(String)
Saves the current Olap view definition into an Xml file.
Public method WriteXml(XmlWriter)
Saves the current Olap view definition into an XmlWriter.

Properties

  Name Description
Public property ColumnFields
Gets a list of C1OlapField objects that define the fields shown as columns in the output table.
Public property DataSource
Gets or sets the object that contains data to be analyzed.
Public property Fields
Gets the list of C1OlapField objects exposed by the data source.
Public property FilteredItemCount
Gets the number of elements that are represented in the current view.
Public property FilterFields
Gets a list of C1OlapField objects that define the fields used as filters for the output table.
Public property IsViewDefined
Gets a value that determines whether an Olap view is currently defined.
Public property ItemCount
Gets the number of elements that in the data source.
Public property OlapDefaultView
Gets the default ICollectionView that exposes the data in the OlapTable.
Public property OlapTable
Gets the DataTable that contains the output of the Olap analysis.
Public property RowFields
Gets a list of C1OlapField objects that define the fields shown as rows in the output table.
Public property ShowKeyColumns
Gets or sets a value that determines whether the Olap output table should include columns containing the row keys.
Public property ShowTotalsColumns
Gets or sets a value that determines whether the Olap output table should include columns containing subtotals or grand totals.
Public property ShowTotalsRows
Gets or sets a value that determines whether the Olap output table should include rows containing subtotals or grand totals.
Public property ShowZeros
Gets or sets a value that determines whether the Olap output table should use zeros to indicate missing values.
Public property ValueField
Gets the first C1OlapField in the ValueFields collection, or null if the collection is empty.
Public property ValueFields
Gets a list of C1OlapField objects that define the fields summarized in the cells of the output table.
Public property ViewDefinition
Gets or sets the Olap view definition as an Xml string.

Events

  Name Description
Public event LoadedFields
Fires after the C1OlapEngine finishes loading the fields for the current DataSource.
Public event Updated
Fires after the C1OlapEngine finishes the Olap analysis and the output OlapTable is ready.
Public event Updating
Fires before the C1OlapEngine starts updating the output OlapTable.

See Also