Send feedback on this topic.
Teradata.Client.Provider
Visual Studio Integration Overview
.NET Data Provider for Teradata > Developer's Guide > Visual Studio Integration Overview

The Visual Studio Integration extension exposes the .NET Data Provider for Teradata objects necessary for development of ADO.NET applications utilizing the Advanced SQL Engine within Microsoft Visual Studio 2015-2022 (Copyright © Microsoft Corporation. All Rights Reserved). Integration includes the following features:

Server Explorer Integration

Server Explorer enables viewing and retrieval of information from a database:

Beginning with Teradata database release 12.0, Server Explorer data connections may experience a performance degradation. For more information on this performance degradation and recommendations please see Teradata XView performance considerations.

For more information about the Server Explorer please see:

Query Designer Support

Right-clicking the Teradata data connection within Server Explorer supports Query Designer through the New Query menu item. Query Designer is a graphical tool that displays tables and views utilized to select columns in building database queries.

Toolbox Support

Visual Studio Toolbox displays icons from a list of supported items, available from the View menu. Each Toolbox icon may be dragged and dropped onto a design surface, adding the necessary code to create an instance of the object.

The objects provided by .NET Data Provider for Teradata - TdConnection, TdCommand, TdCommandBuilder and TdDataAdapter -- are available items following either the installation of the .NET Data Provider for Teradata or the addition of a reference to Teradata.Client.Provider.dll or a package reference to Teradata.Client.Provider package within the current project.

Toolbox must be configured to include the objects provided by .NET Data Provider for Teradata. To enable the Toolbox display, Visual Studio menu item View -> Toolbox must be selected. Right clicking any Toolbox group and selecting Choose Items, enables customization of the Toolbox.

Select the .NET Framework Components tab and select the Namespace to sort components. Enable the TdCommand, TdConnection, TdCommandBuilder and TdDataAdapter .NET Data Provider for Teradata components found in the Teradata.Client.Provider namespace.

For more information about Visual Studio Toolbox please see: Toolbox.

Windows Form Designer Support

The objects provided by .NET Data Provider for Teradata - TdConnection, TdCommand, TdCommandBuilder and TdDataAdapter -- may be dragged from the Visual Studio Toolbox and dropped onto a Windows Form. The code to support these objects is automatically generated to create an instantiation of the object.

Dataset Designer support

Datasets, in-memory copies of relational table data and their relationships from supported data sources, are supported in Windows Form projects through right-clicking data sources (Edit Dataset). Creation and population of Datasets are supported through the TdDataAdapter.

The Data Source pane may be enabled by selecting from the Data menu item available in a Windows Form Project items Show Data Sources or Add New Data Source.

Creating a data source will also define a Dataset in which the data source is linked. The Data Source pane displays the Dataset generated during the data source configuration. Right click the Dataset to display Dataset Designer options:

For more information about Dataset Designer please see: Dataset Tools in Visual Studio.

Data Binding Support

ASP.NET applications and Windows Forms applications may create read/write links from application controls. Data binding enables controls on a Windows Form to retrieve and update Teradata relational data. A summary of the steps to create a data binding to a Teradata table or view follows:

For further information on data binding please see: Bind Windows Forms controls to data.

SQL Server Analysis Services Support

SQL Server Analysis Services (SSAS) supports Visual Studio integration through a new class of Business Intelligence projects. An Analysis Services project template supports SQL Server Analysis Services. The following features are supported:

For more information about Microsoft SQL Server Analysis Services please see: SQL Server Analysis Services overview.

Teradata Generated Data Behavior Support

Microsoft Visual Studio supports Generated Data Retrieval through configuration of the TdDataAdapter in Windows Form Projects. TableAdapters provide communication between your application and a database. A TableAdapter connects to the database and is responsible for executing queries against the database to populate DataTables and to provide synchronization between the DataTable and the database table.

In This Section

Example: Creating a data connection in Server Explorer

Restrictions

Use Large Decimal in Typed DataSet

Generated Data Behavior