ADO.NET Provider for DB2

Build 24.0.9060

CData ADO.NET Provider for DB2

Overview

The CData ADO.NET Provider for DB2 offers the most natural way to access DB2 data from .NET applications. The provider wraps the complexity of accessing DB2 data in an easy-to-integrate, fully managed ADO.NET Data Provider.

The provider hides the complexity of accessing data and provides additional powerful security features, batching, socket management, and more.

Key Features

  • Seamlessly integrate DB2 data into .NET Framework, .NET Core, Entity Framework, and Entity Framework Core applications.
  • Real-time access to DB2 with comprehensive support for CRUD operations.
  • Compatible with existing Microsoft tools such as SSAS, SSRS, and Visual Studio.

Getting Started

See Getting Started for A-Z guides on authenticating and connecting to DB2 data. See the DB2 integration guides for information on connecting from other applications.

Using ADO.NET

The provider has the same ADO.NET architecture as the native .NET data providers for SQL Server and OLEDB. Code with familiar classes such as DB2Connection, DB2Command, DB2DataAdapter, DB2DataReader, DB2DataSource, DB2Parameter, and so on. See Using ADO.NET for guides relating to these and other ADO.NET features such as batch processing, connection pooling, and calling stored procedures.

Entity Framework

You can leverage Entity Framework to quickly and easily model database resources using .NET objects. In Using Entity Framework, you can find instructions related to EF6 setup and installation, as well as the creation of both model-first and code-first data models.

Entity Framework Core

Entity Framework Core provides a streamlined, cross-platform solution for modelling database resources as .NET objects. Using Entity Framework Core covers how to surface DB2 data using EF Core console and ASP.NET applications. Additionally, you can find instructions for automatically building data models from data source metadata using reverse engineering (scaffolding).

SSRS

You can use the provider to enable real-time connectivity to DB2 within your SSRS reports. Using SSRS details provider deploy, the creation of shared and embedded data sources and datasets, and the publishing of SSRS reports.

DbProviderFactory

The provider supports the creation of strongly typed DbProviderFactory and DBConnection objects in order to facilitate connecting to DB2 with generic code. Using DbProviderFactory describes how to get connected as well as create, configure, and execute DbCommands.

Schema Discovery

See Schema Discovery to use standard ADO.NET schema collections to discover schema information and other metadata.

Advanced Features

Advanced Features details additional features supported by the provider, such as , ssl configuration, remoting, firewall/proxy settings, and advanced logging.

Connection String Options

The Connection properties describe the various options that can be used to establish a connection.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060