Table of Contents

Namespace Cuemon.Data

Assembly: Cuemon.Data.dll

Abstract away ADO.NET plumbing with a higher-level data access layer that includes data readers, data managers, statement builders, and data transfer objects. Use this namespace when you need to connect to data sources, execute commands, and manipulate results without writing raw ADO.NET code. Start with DataManager as the main entry point for executing commands, and DataReader for wrapping IDataReader. For building SQL statements programmatically, use QueryBuilder.

Availability: .NET 10, .NET 9 and .NET Standard 2.0

Complements: System.Data namespace 🔗

Extension Members

Type Ext Methods
IDecorator ⬇️ ToStream, ToEncodedString, ToEncodedStringAsync
IDecorator ⬇️ ToType

Classes

DataManager

The DataManager is an abstract class in the Cuemon.Data namespace that can be used to implement execute commands of different database providers.

DataManagerOptions

Configuration options for DataManager.

DataReaderDecoratorExtensions

Extension methods for the IDataReader interface hidden behind the IDecorator<T> interface.

DataReader<TRead>

Provides a generic way of reading a forward-only stream of rows from a TRead based data source. This is an abstract class.

DataStatement

Represents a Transact-SQL statement or stored procedure to execute against a SQL Server database.

DataStatementOptions

Configuration options for DataStatement.

DataTransfer

Provides a way to convert an IDataReader implementation to a table-like data transfer object.

DataTransferColumn

Represents the column meta information of a table-row in a database. This class cannot be inherited.

DataTransferColumnCollection

Represents a collection of DataTransferColumn objects for a table in a database. This class cannot be inherited.

DataTransferRow

Represents the row of a table in a database. This class cannot be inherited.

DataTransferRowCollection

Represents a collection of DataTransferRow objects for a table in a database. This class cannot be inherited.

DatabaseDependency

Provides a way to monitor any changes occurred to one or more relational data sources while notifying subscribing objects.

DatabaseWatcher

Provides a watcher implementation designed to monitor and signal changes applied to a relational database by raising the Changed event.

DbTypeDecoratorExtensions

Extension methods for the DbType enumeration hidden behind the IDecorator<T> interface.

DsvDataReader

Provides a way of reading a forward-only stream of rows from a DSV (Delimiter Separated Values) based data source. This class cannot be inherited.

InOperatorResult

Provides the result of an InOperator<T> operation.

InOperator<T>

Provides a safe way to include a Transact-SQL WHERE clause with an IN operator.

QueryBuilder

An abstract class for building T-SQL statements from table and columns definitions.

TokenBuilder

Represents a mutable string of characters optimized for tokens. This class cannot be inherited.

UniqueIndexViolationException

The exception that is thrown when a unique index violation occurs from a data source.

Enums

QueryFormat

Identifies the format for a query fragment.

QueryType

Identifies the type of data operation performed by a query against a data source.