Key Features of dotConnect for Db2

Compatibility

  • Support for Db2 for LUW 9.x and later
  • x64 and x86 architecture
  • Windows, Linux, macOS

Platforms

  • .NET 5.0-9.0
  • .NET Core 2.0-3.1
  • .NET Standard 2.0-2.1
  • .NET Frameworks 2.0–4.8
  • ASP.NET Core
  • Blazor
  • .NET MAUI (previously Xamarin)
  • Mono Framework
  • Sync Framework

.NET languages

  • C#
  • VB.NET
  • F#

ORM support

  • Entity Framework Core 1.x-9.0
  • Entity Framework v1-v6
  • Dapper 1.x, 2.x
  • NHibernate 1.x-5.x
  • LINQ to Entities

Entity Framework features

  • Spatials support
  • Change tracking and object data caching support
  • Inheritance mapping support (TPH, TPT, TPCT models)
  • Stored procedures and functions support
  • Ability to build database-independent applications
  • Full-text search support

With Entity Developer

  • Visual model creation and code generation
  • Model update from the database
  • Database update with mapping synchronization
  • Reverse engineering of database objects to an entity model
  • Storage schema editing of Entity Framework
  • Standalone usage or Visual Studio integration

ADO.NET architecture

  • Batch update support
  • Extended metadata information retrieval
  • Enhanced pooling control through the connection string
  • Connection string builder
  • Provider factory for generating key data access classes
  • Asynchronous command execution
  • Provider-specific types support

Performance

  • Intelligent fetch block size control
  • Advanced connection pooling
  • High-performance batch processing
  • Support for the prepared statements in the protocol for maximum performance

IDE integration

Visual Studio

Microsoft Visual Studio 2008-2022

  • DataSet Wizard to create and edit typed Db2-oriented datasets
  • DataSet Manager to list and bind datasets in the project
  • DataSet Editor to edit dataset contents
  • Advanced design-time component and property editors
  • IntelliSense descriptions for dotConnect for Db2 classes
  • Easy migration from ODBC and OLE DB .NET Data Providers with Migration Wizard
  • Syntax highlighting and SQL code completion in design-time editors
  • TableMappings editor
  • Convenient instant data preview and management at design time

Without design-time integration

  • Visual Studio Code
  • JetBrains ReSharper and Rider
  • CodeGear Delphi 2007
  • Embarcadero Delphi Prism
  • Support for the Enterprise Library Data Access Application Block (DAAB)

NuGet availability

dotnet add package Devart.Data.DB2
dotnet add package Devart.Data.DB2.EFCore

Script execution

  • Advanced script execution features with the DB2Script component
  • Support for executing individual statements in scripts
  • Support for executing huge scripts stored in files with dynamic loading

SQL execution monitoring

  • Extended SQL tracing capabilities with DB2Monitor component
  • Support for the dbMonitor utility for advanced tracing analysis and control
  • Per-component SQL tracing
  • Optional log output to the IDE

Db2 technology support

  • All Db2 data types support, including composite types
  • Stored procedures support
  • Returning result sets from stored procedures
  • DB2Dump component to store a database or its parts as a script and then restore it
  • DB2Loader component for fast loading data
  • DB2Alerter component to manage Db2 notifications with LISTEN and NOTIFY commands
  • Fill DataSet with multiple queries
  • Large objects support
  • Db2 ARRAY data type support with the DB2Array class
  • Full support for Db2 range types

WinForms-specific features

  • Flexible data binding with the DataLink component
  • InterForm technology for cross-form components cooperation
  • Global position synchronization within a data source

Extended DataTable and DataSet functionality

  • Powerful DB2DataTable component for manipulating individual tables or query results
  • NonBlocking mode allows fetching data asynchronously in the background
  • On-demand data fetch for data-bound controls
  • Paginal access to query results
  • Server side master-detail relation based on queries
  • Ability to refresh individual records in the DB2DataTable component
  • Support for Enterprise Library Data Access Application Block (DAAB)
  • Object-oriented building of SELECT statements
  • Extended warning and error information retrieval
  • Extended interface for processing execution exceptions
  • DB2DataAdapter.Fill method with sequential fetch support
  • Ability to defer fetching of some columns in a result set
  • Named parameters support