Using Provider-specific Templates
- Last Updated: April 16, 2026
- 3 minute read
- ADO.NET
- Documentation
Visual Studio offers a set of templates to help you build applications that automatically include DataDirect features such as SQL leveling.
Creating a New Project
When you create a new project in Visual Studio, you can use a template specific to DataDirect Connect for ADO.NET data provider, or a template that creates an application with generic code.
In the following example, we create a new project in Visual Studio using the template for DataDirect Connect for ADO.NET Oracle data provider.
To create a new project:
-
Select File / New / Project... The New Project dialog box appears.
-
In the Project Types pane, select Visual C# / Progress DataDirect.

-
Make any necessary changes to the fields on the New Project dialog box:
a. In the Templates pane, select Progress DataDirect Oracle Project.
b. In the Name field, type a name, for example, My DataDirect Oracle Project, or accept the default name.
c. In the Location field, type the location to which you want to save the project, or click Browse to navigate to the directory.
d. In the Solution Name field, type the name for the solution.
e. In the drop-down list, select the .NET Framework version that you want to use. -
Click OK.
The new project appears in the Solution Explorer. The namespace for the Oracle data provider is automatically added to the project.

Note: If you are using the ADO.NET common programming model, select the Progress DataDirect Generic Provider Project template. In this case, the project does not require a specific reference to an assembly.

Adding a Template to an Existing Project
-
In Solution Explorer, right-click the project and select Add / New Item.... The Add New Item dialog box appears.

-
Select the Progress DataDirect class that you want to add to the project.
-
Click Add. The class for the DataDirect data provider, in this example, the Progress DataDirect Oracle data provider, is added to a project created with the Progress DataDirect Generic template.
