Represents an open connection to a data source.
Inheritance Hierarchy
Spotfire.Dxp.DataDataSourceConnection
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
public abstract class DataSourceConnection : IDisposable
The DataSourceConnection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DataSourceConnection |
Initializes a new instance of the DataSourceConnection class.
|
Methods
| Name | Description | |
|---|---|---|
| Close | Synonym for Dispose.
| |
| CreateConnection | Obsolete.
Creates a default DataSourceConnection instance.
| |
| CreateConnection2(DataSource, QueryExecutor2, IServiceProvider) |
Creates a default DataSourceConnection instance.
| |
| CreateConnection2(DataSource, QueryExecutor2, IServiceProvider, IEnumerableObject) |
Creates a default DataSourceConnection instance.
| |
| Dispose | Disposes of the connection.
| |
| Dispose(Boolean) |
Disposes of the connection.
| |
| ExecuteQuery | Obsolete.
Executes the query with the current data source settings and returns the resulting DataReader.
| |
| ExecuteQuery2 |
Executes the query with the current data source settings and returns the resulting DataRowReader.
| |
| ExecuteQueryCore | Obsolete.
Executes the query with the current data source settings and returns the resulting DataReader.
| |
| ExecuteQueryCore2 |
Executes the query with the current data source settings and returns the resulting DataRowReader.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetPromptModels |
Get an enumeration of the prompt models that should be used for prompting.
| |
| GetPromptModelsCore | This method is used to provide the prompt models that should be used for the data source.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| ConnectedUserName |
Gets or sets the name of the connected user.
| |
| DataSource |
Gets the data source.
| |
| DocumentTitle | Gets a document title for the data returned from this data source with the current configuration.
| |
| HasUserDependentData | Gets or sets a value indicating whether the data depends on the current user or not.
| |
| IsLinkable |
Gets a value indicating whether this instance supports linked data mode.
| |
| ServiceProvider |
Gets access to services.
|
Version Information
See Also