Catalog an ADO.NET database connection and connect to it using the OpenESQL Assistant.
         
  
         
                  - Requirements
                  
- Before attempting this tutorial, you must complete the following tutorials in the order listed:
                         
                                - Tutorial: Enable SQL CLR Integration
                                
- Tutorial: Create a Sample Database
                                
- Tutorial: Create and Configure a Database Project
                                
 
- Phase 1: Start OpenESQL Assistant
                  
- 
                         
                                - From the Visual Studio IDE, click
                                  View > Micro Focus SQL Tools > OpenESQL Assistant.
                                
 
- Phase 2: Catalog an ADO.NET Connection
                  
- 
                         
                                - From the tool bar in the OpenESQL Assistant, click the
                                  ADO.NET Connection Editor icon
                                   . .
- Click
                                   > Save > All framework/availability combinations; then do one of the following: > Save > All framework/availability combinations; then do one of the following:
                                         - If
                                                All framework/availability combinations is checked, proceed to the next step.
                                         
- If
                                                All framework/availability combinations, click it to select it; then proceed to the next step.
                                         
 
- Click
                                   > Framework and ensure that
                                  4.0, 4.5, 4.6 is checked. > Framework and ensure that
                                  4.0, 4.5, 4.6 is checked.
- Click
                                  Add to create a new database connection; then click
                                  Next.
                                
- In the
                                  Data Source Name field, type
                                  SQLCLRTutorial; then click
                                  Next.
                                
- On the .NET Data Providers page, select
                                  SqlClient Data Provider; then click
                                  Next.
                                
- In the
                                  Data Source field, type
                                  . (dot) to specify your local SQL Server instance.
                                
- In the
                                  Initial Catalog field, type
                                  SQLCLR_Test, which is the name of your SQL Server database.
                                
- Do one of the following to set authentication for your SQL Server instance:
                                  
                                         - If you want to connect using Windows authentication (recommended), change the value for the
                                                Integrated Security key to
                                                True.
                                         
- If you want to connect by providing SQL Server-specific login credentials, type your SQL Server user ID and password into the
                                                Value fields for the
                                                User ID and
                                                Password keys respectively.
                                         
 
- Click
                                  Next, and then
                                  Finish.
                                
- After the new connection appears on the main window of the ADO.NET Connection Editor, click
                                  Test to verify that the connection works.
                                
- Click the
                                  x icon in the upper right corner of the ADO.NET Connection Editor main window to close it.
                                
 
- Phase 3: Connect to your SQL Server Instance
                  
- 
                         
                                -  On the OpenESQL Assistant, uncheck all listed data source names, if any.
                                
- From the tool bar, click the
                                  Refresh list of data sources icon
                                   . .
- Check
                                  SQLCLRTutorial to make the connection.
                                
 
This concludes this tutorial. Please continue with
                Tutorial: Code a SQL CLR Stored Procedure using OpenESQL Assistant.