DataTableCollection Class

Spotfire 14.3 API Reference
A collection of DataTable objects. The collection of data tables exists in the DataManager.
Inheritance Hierarchy

SystemObject
  Node
    Spotfire.Dxp.Framework.DocumentModelDocumentNode
      Spotfire.Dxp.DataDataTableCollection

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(20, 0)]
public sealed class DataTableCollection : DocumentNode, 
	IEnumerable<DataTable>, IEnumerable

The DataTableCollection type exposes the following members.

Properties

  NameDescription
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyCount
Gets the number of tables.
Public propertyDefaultTableReference
Gets or sets the current default table. The value may not be set to null but will be null when there are no tables in the collection.
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyItemGuid
Gets the table with the given Guidid.
Public propertyItemString
Gets the table with the given name.
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Top
Methods

  NameDescription
Public methodAdd(String, DataSource)
Create and add a DataTable from a DataSource. Use CreateFileDataSource(String) to create a DataSource from a file path.
Public methodAdd(String, DataSource, Boolean)
Create and add a DataTable from a DataSource. Use CreateFileDataSource(String) to create a DataSource from a file path.
Public methodCanReloadAllData
Gets a value indicating whether any data tables can be reloaded using the ReloadAllData method.
Public methodCanReloadAllData(IEnumerableDataTable)
Public methodCanReloadLinkedData
Gets a value indicating whether any data tables can be reloaded using the ReloadLinkedData method.
Public methodCanReloadLinkedData(IEnumerableDataTable)
Public methodContains(Guid)
Check if a table with the given id exists in the collection.
Public methodContains(String)
Check if a table with the given name exists in the collection.
Public methodContains(DataTable)
Check if the dataTable exists in this collection.
Public methodCreateUniqueName
Create a new unique table name from a suggestion. The suggested name is used if possible.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidName
Check if the suggested table name is a valid unique name in the collection.
Public methodRefresh Obsolete.
Refreshes the given tables in dependency order.
Public methodRefreshAll Obsolete.
Refreshes the all tables in this collection.
Public methodRefreshAsync(IEnumerableDataTable) Obsolete.
Refreshes the given tables in dependency order. Tables that have asynchronous refresh (i.e. Data On Demand and Data Functions) and tables that depend on them will be refreshed in later transactions.
Public methodRefreshAsync(IEnumerableDataTable, ActionException) Obsolete.
Refreshes the given tables in dependency order. Tables that have asynchronous refresh (i.e. Data On Demand and Data Functions) and tables that depend on them will be refreshed in later transactions.
Public methodRefreshOnDemandData
Refreshes data that depends on other data and is not automatically updated. This includes on-demand data with manual refresh, data functions with update behavior Manual and calculations with update behavior Invalidate.
Public methodRefreshOnDemandData(Action)
Refreshes data that depends on other data and is not automatically updated. This includes on-demand data with manual refresh, data functions with update behavior Manual and calculations with update behavior Invalidate.
Public methodRefreshOnDemandData(IEnumerableDataTable)
Refreshes data that depends on other data and is not automatically updated. This includes on-demand data with manual refresh, data functions with update behavior Manual and calculations with update behavior Invalidate.
Public methodRefreshOnDemandData(IEnumerableDataTable, Action)
Refreshes data that depends on other data and is not automatically updated. This includes on-demand data with manual refresh, data functions with update behavior Manual and calculations with update behavior Invalidate.
Public methodReloadAllData
Reloads all data in all data tables, including embedded data tables and data sources set to store their data.
Public methodReloadAllData(IEnumerableDataTable)
Reloads all data in the specified data tables, including embedded data tables and data sources set to store their data.
Public methodReloadLinkedData
Reloads only linked data in all data tables. Embedded data tables and data sources set to store their data will be ignored.
Public methodReloadLinkedData(IEnumerableDataTable)
Reloads only linked data in the specified data tables. Embedded data tables and data sources set to store their data will be ignored.
Public methodRemove(String)
Remove the DataTable with the given name from the collection.
Public methodRemove(DataTable)
Remove the dataTable from the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue(Guid, DataTable)
Try to get a DataTable with a given id.
Public methodTryGetValue(String, DataTable)
Try to get a DataTable with a given name.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodINodeContextGetAncestorT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextGetServiceT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextIsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsBeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference