A DataView is a derived view which values are derived from
a DataTable. It cannot be added to the
DataTableCollection. A DataView cannot be
serialized to the document.
Inheritance Hierarchy
Spotfire.Dxp.Framework.DocumentModelNode
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.DataDataTable
Spotfire.Dxp.DataDataView
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
[SerializableAttribute] [NotPersistedAttribute] public sealed class DataView : DataTable
The DataView type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddColumns | Adds columns from the columns retrieved from the
dataSource using the settings in the
settings parameter. Use
CreateFileDataSource(String) to create a data
source from a file path.
(Inherited from DataTable.) | |
AddRows | Adds rows from the columns retrieved from the
dataSource using the settings in the
settings parameter. Use
CreateFileDataSource(String) to create a data
source from a file path.
(Inherited from DataTable.) | |
AddTransformation |
Adds a transformation to the table. The transformation will be applied on the source columns in the table
(i.e., the columns originating from a data source or the result of an add columns or add rows operation.)
Calculated columns will not be affected.
(Inherited from DataTable.) | |
AddTransformations |
Adds a sequence of transformations to the table. The transformation will be applied on the source columns in the table
(i.e., the columns originating from a data source or the result of an add columns or add rows operation.)
Calculated columns will not be affected.
(Inherited from DataTable.) | |
BeginRefresh | Obsolete.
Begins a refresh of this table, making it up-to-date with the
current settings. Depending on the table type, data will be reloaded
from the data source or recalculated.
(Inherited from DataTable.) | |
EndRefresh | Obsolete. Waits until the currently executing refresh operation is
finished.
(Inherited from DataTable.) | |
ExportDataToLibrary |
Export the data in the data table as a data file in the library.
(Inherited from DataTable.) | |
GenerateSourceView |
Generates a SourceView representing DataOperations performed to construct this data table.
(Inherited from DataTable.) | |
GetDistinctRows |
Gets the distinct rows for the specified cursors. Note that this method is not supported for external data tables.
(Inherited from DataTable.) | |
GetMethods |
Gets the methods that can be used in expressions on this table.
(Inherited from DataTable.) | |
GetRows(DataValueCursor) |
Enumerates all rows for the columns specified by the given valueCursors.
(Inherited from DataTable.) | |
GetRows(IEnumerableInt32, DataValueCursor) |
Enumerates a subset of the rows for the columns specified by the given (Inherited from DataTable.)valueCursors | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Refresh |
Refreshes this table to be up-to-date with the current settings. This will reload data from
the DataSource or recalculate depending on the type of table.
(Inherited from DataTable.) | |
RemoveRows | Remove rows from this table.
(Inherited from DataTable.) | |
ReplaceData | Replace the data in the table with the columns in the data
source. Use CreateFileDataSource(String) to create
a data source from a file path.
(Inherited from DataTable.) | |
Select |
Returns the rows that matches the where clause expression.
The expression must be a boolean Spotfire expression.
(Inherited from DataTable.) |
Properties
Name | Description | |
---|---|---|
BaseMap | Gets the mapping between the rows in this view and
in the BaseTable.
| |
BaseTable | Gets the DataTable that this view is based on.
| |
Columns | Gets the collection of the columns that are part of this data table.
(Inherited from DataTable.) | |
Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
HasValidPrimaryKey | Gets a value indicating whether the table has a valid primary key or not.
(Inherited from DataTable.) | |
Id | Gets a unique identifier for this table.
(Inherited from DataTable.) | |
IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
IsExternal |
Gets a value indicating whether the data in this table is kept external.
(Inherited from DataTable.) | |
IsRefreshable |
Gets a value indicating whether this table is refreshable, that is,
it supports Refresh calls.
(Inherited from DataTable.) | |
IsRefreshableByNeed |
Gets a value indicating whether this table is refreshable by need, that is,
it supports Refresh calls and uses the NeedsRefresh
property to indicate if refresh is needed.
(Inherited from DataTable.) | |
IsValid | Gets a value indicating whether this view is valid or not.
| |
Name | Gets or sets the name of this table.
(Inherited from DataTable.) | |
NameEscapedForExpression | Gets the name of the table escaped for usage in an
expression. This is a utility method which uses
EscapeIdentifier(String).
(Inherited from DataTable.) | |
NeedsRefresh |
Gets a value indicating whether this table needs to be refreshed (by calling Refresh).
(Inherited from DataTable.) | |
PrimaryKey |
Gets or sets the primary key for this data table. The primary
key is a collection of columns in this table that provides a unique
combination of values for each row.
(Inherited from DataTable.) | |
Properties | Gets the properties describing this table.
(Inherited from DataTable.) | |
Refreshing |
Gets a value indicating whether the data table is refreshing.
(Inherited from DataTable.) | |
RowCount | Gets the number of rows in the columns in this table. All columns in a DataTable
have the same number of rows.
(Inherited from DataTable.) | |
Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IServiceProviderGetService |
Implements IServiceProvider.
(Inherited from Node.) | |
INodeContextGetAncestorT |
Implements GetAncestorT.
(Inherited from DocumentNode.) | |
INodeContextGetServiceT |
Implements GetServiceT.
(Inherited from DocumentNode.) | |
INodeContextIsDescendantOf |
Implements IsDescendantOf(DocumentNode).
(Inherited from DocumentNode.) | |
ITransactionsBeginAggregatedTransaction |
Implements BeginAggregatedTransaction.
(Inherited from DocumentNode.) | |
ITransactionsExecuteInvisibleTransaction |
Implements ExecuteInvisibleTransaction(Executor).
(Inherited from DocumentNode.) | |
ITransactionsExecuteStickyTransaction |
Implements ExecuteStickyTransaction(Guid, Executor).
(Inherited from DocumentNode.) | |
ITransactionsExecuteTransaction |
Implements ExecuteTransaction(Executor).
(Inherited from DocumentNode.) |
Remarks
Version Information
See Also