This page outlines the steps that are required to use the Microsoft ADO.NET data provider for CData Connect Cloud.
Note: Before you can configure and use ADO.NET with CData Connect Cloud, you must first connect a data source to your CData Connect Cloud account. See Connections for more information.
Install the Provider
Follow these steps to download and install the provider:
Open the Client Tools page in CData Connect Cloud.
In the Dev Tools section, click ADO.NET.
Download and run the setup file.
The installer can automatically detect software that supports ADO.NET, such as Visual Studio. Select the options that you want the installer to configure.
After installation, the ADO.NET Provider will be available in the software that you selected during installation.
Connect to CData Connect Cloud
CData Connect Cloud uses OAuth to establish a connection between the ADO.NET Provider and your account. The steps below provide an example of configuring the ADO.NET Provider in Visual Studio 2022:
In Visual Studio, click Tools > Connect to Database.
Select CData Connect Data Source as your Data Source.
In the Data Provider drop-down menu, select ADO.NET Provider for CData Connect 2021 and click Continue.
The Add Connection window appears. In the Auth Scheme field, select OAuth. Do not fill out other fields.
- Click Test Connection.
- If you are already logged in, a success message appears.
- If you are not logged in, the CData Connect Cloud sign-in window opens in your web browser. Sign in and return to Visual Studio.
- Click OK on the success message and OK in the Add Connection window.
Your connection appears in the Server Explorer pane under the Data Connections section.
To learn more information about using the ADO.NET Provider for CData Connect Cloud, click here.