OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Connector/NET

V1.0.0

  • What Is OceanBase Connector/NET
    • Introduction
  • Install and Connect
    • Installation process
    • Test the connection
    • Reference a NuGet package
  • User Guide
    • Quick Start
      • Complete example
    • Connection Strings and Data Source
      • Connection strings
    • Data Types
      • Overview of data types
    • Command and Parameter
      • Overview
    • Result Set
      • Supported result set types
  • Reference Information
    • Common Interfaces
      • Overview of commonly used interfaces
  • Version Release Records
    • OceanBase Connector/NET V1.0.0

Download PDF

Introduction Installation process Test the connection Reference a NuGet package Complete example Connection strings Overview of data types Overview Supported result set types Overview of commonly used interfaces OceanBase Connector/NET V1.0.0
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogLive DemosTraining & Certification
Company
About OceanBaseTrust CenterLegalPartnerContact Us
Follow Us

© OceanBase 2026. All rights reserved

Cloud Service AgreementPrivacy PolicySecurity
Contact Us
Document Feedback
  1. Documentation Center
  2. OceanBase Connector/NET
  3. V1.0.0
iconOceanBase Connector/NET
V 1.0.0
  • V 1.1.0
  • V 1.0.0

Introduction

Last Updated:2026-04-10 07:38:32  Updated
share
What is on this page
Cross-platform support
Main modules and their support
Unsupported scenarios

folded

share

OceanBase Connector/NET is a driver developed in C# for the .NET platform. It provides a connection to OceanBase Database and supports the following modes:

  • Oracle mode: Supports Oracle-compatible APIs such as OracleConnection, OracleCommand, and OracleDataReader.
  • MySQL mode: Uses the same approach as MySqlConnector, with the same connection method as MySQL Connector.

Cross-platform support

OceanBase Connector/NET is cross-platform and can run on Windows, Linux, and macOS. It allows enterprise applications to uniformly access OceanBase Database across various deployment environments.

Main modules and their support

This topic focuses on the Oracle mode. The MySQL mode uses the same approach as MySqlConnector, so it is not described here.

Module Supported features
OracleTransaction Commit/CommitAsync, Rollback/RollbackAsync; named savepoints; isolation levels ReadCommitted, RepeatableRead, and Serializable (ReadUncommitted and Snapshot are not supported).
OracleCommand CommandType.Text and CommandType.StoredProcedure; ExecuteNonQuery, ExecuteScalar, and ExecuteReader (including asynchronous); Prepare/PrepareAsync; OUT/InputOutput/ReturnValue parameters for stored procedures; REF CURSOR result sets; CommandTimeout, Cancel, and LastInsertedId.
OracleDataReader Read/ReadAsync, NextResult/NextResultAsync; GetValue, GetString, GetInt16/32/64, and other methods; GetOracleBlob, GetOracleClob, and GetOracleTimeStamp for Oracle types; traversal of multiple result sets and REF CURSORs.
OracleConnection Open/OpenAsync, Close/CloseAsync; BeginTransaction, CreateCommand, ChangeDatabase, and Ping; connection pooling, SSL; EnlistTransaction for distributed transactions. In Oracle mode, the Database (schema) must be specified. Current limitations: GetSchema is not supported; CreateBatch for batch processing is not supported.
OracleParameter Named parameters (@name, :name); Direction: Input, Output, InputOutput, and ReturnValue; OracleDbType and DbType.

Unsupported scenarios

  • GetSchema (calling this method on OracleConnection will throw a NotSupportedException)
  • CreateBatch (batch processing)
  • OracleDataAdapter

Next topic

Installation process
Next
What is on this page
Cross-platform support
Main modules and their support
Unsupported scenarios