Table of Contents

Class DB2ProviderAdapter

Namespace
LinqToDB.Internal.DataProvider.DB2
Assembly
linq2db.dll
public sealed class DB2ProviderAdapter : IDynamicProviderAdapter
Inheritance
object
DB2ProviderAdapter
Implements
Extension Methods

Fields

AssemblyName

public const string AssemblyName = "IBM.Data.DB2"

Field Value

string

ClientNamespace

public const string ClientNamespace = "IBM.Data.DB2"

Field Value

string

CoreClientNamespace

public const string CoreClientNamespace = "IBM.Data.DB2.Core"

Field Value

string

NetFxClientNamespace

public const string NetFxClientNamespace = "IBM.Data.DB2"

Field Value

string

ProviderFactoryName

public const string ProviderFactoryName = "IBM.Data.DB2"

Field Value

string

TypesNamespace

public const string TypesNamespace = "IBM.Data.DB2Types"

Field Value

string

Properties

BulkCopy

public DB2ProviderAdapter.BulkCopyAdapter BulkCopy { get; }

Property Value

DB2ProviderAdapter.BulkCopyAdapter

CommandType

Gets type, that implements DbCommand for current ADO.NET provider.

public Type CommandType { get; }

Property Value

Type

ConnectionType

Gets type, that implements DbConnection for current ADO.NET provider.

public Type ConnectionType { get; }

Property Value

Type

ConnectionWrapper

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public Func<DbConnection, DB2ProviderAdapter.DB2Connection> ConnectionWrapper { get; }

Property Value

Func<DbConnection, DB2ProviderAdapter.DB2Connection>

DB2BinaryType

public Type DB2BinaryType { get; }

Property Value

Type

DB2BlobType

public Type DB2BlobType { get; }

Property Value

Type

DB2ClobType

public Type DB2ClobType { get; }

Property Value

Type

DB2DateTimeType

public Type? DB2DateTimeType { get; }

Property Value

Type

DB2DateType

public Type DB2DateType { get; }

Property Value

Type

DB2DecimalFloatType

public Type DB2DecimalFloatType { get; }

Property Value

Type

DB2DecimalType

public Type DB2DecimalType { get; }

Property Value

Type

DB2DoubleType

public Type DB2DoubleType { get; }

Property Value

Type

DB2Int16Type

public Type DB2Int16Type { get; }

Property Value

Type

DB2Int32Type

public Type DB2Int32Type { get; }

Property Value

Type

DB2Int64Type

public Type DB2Int64Type { get; }

Property Value

Type

DB2Real370Type

public Type DB2Real370Type { get; }

Property Value

Type

DB2RealType

public Type DB2RealType { get; }

Property Value

Type

DB2RowIdType

public Type DB2RowIdType { get; }

Property Value

Type

DB2StringType

public Type DB2StringType { get; }

Property Value

Type

DB2TimeSpanType

public Type? DB2TimeSpanType { get; }

Property Value

Type

DB2TimeStampType

public Type DB2TimeStampType { get; }

Property Value

Type

DB2TimeType

public Type DB2TimeType { get; }

Property Value

Type

DB2XmlType

public Type DB2XmlType { get; }

Property Value

Type

DataReaderType

Gets type, that implements DbDataReader for current ADO.NET provider.

public Type DataReaderType { get; }

Property Value

Type

GetDB2BinaryReaderMethod

public string GetDB2BinaryReaderMethod { get; }

Property Value

string

GetDB2BlobReaderMethod

public string GetDB2BlobReaderMethod { get; }

Property Value

string

GetDB2ClobReaderMethod

public string GetDB2ClobReaderMethod { get; }

Property Value

string

GetDB2DateReaderMethod

public string GetDB2DateReaderMethod { get; }

Property Value

string

GetDB2DateTimeReaderMethod

public string? GetDB2DateTimeReaderMethod { get; }

Property Value

string

GetDB2DecimalFloatReaderMethod

public string GetDB2DecimalFloatReaderMethod { get; }

Property Value

string

GetDB2DecimalReaderMethod

public string GetDB2DecimalReaderMethod { get; }

Property Value

string

GetDB2DoubleReaderMethod

public string GetDB2DoubleReaderMethod { get; }

Property Value

string

GetDB2Int16ReaderMethod

public string GetDB2Int16ReaderMethod { get; }

Property Value

string

GetDB2Int32ReaderMethod

public string GetDB2Int32ReaderMethod { get; }

Property Value

string

GetDB2Int64ReaderMethod

public string GetDB2Int64ReaderMethod { get; }

Property Value

string

GetDB2Real370ReaderMethod

public string GetDB2Real370ReaderMethod { get; }

Property Value

string

GetDB2RealReaderMethod

public string GetDB2RealReaderMethod { get; }

Property Value

string

GetDB2RowIdReaderMethod

public string GetDB2RowIdReaderMethod { get; }

Property Value

string

GetDB2StringReaderMethod

public string GetDB2StringReaderMethod { get; }

Property Value

string

GetDB2TimeReaderMethod

public string GetDB2TimeReaderMethod { get; }

Property Value

string

GetDB2TimeStampReaderMethod

public string GetDB2TimeStampReaderMethod { get; }

Property Value

string

GetDB2XmlReaderMethod

public string GetDB2XmlReaderMethod { get; }

Property Value

string

GetDbType

public Func<DbParameter, DB2ProviderAdapter.DB2Type> GetDbType { get; }

Property Value

Func<DbParameter, DB2ProviderAdapter.DB2Type>

Instance

public static DB2ProviderAdapter Instance { get; }

Property Value

DB2ProviderAdapter

IsDB2BinaryNull

public Func<object, bool> IsDB2BinaryNull { get; }

Property Value

Func<object, bool>

MappingSchema

public MappingSchema MappingSchema { get; }

Property Value

MappingSchema

ParameterType

Gets type, that implements DbParameter for current ADO.NET provider.

public Type ParameterType { get; }

Property Value

Type

ProviderTypesNamespace

public string ProviderTypesNamespace { get; }

Property Value

string

SetDbType

public Action<DbParameter, DB2ProviderAdapter.DB2Type> SetDbType { get; }

Property Value

Action<DbParameter, DB2ProviderAdapter.DB2Type>

TransactionType

Gets type, that implements DbTransaction for current ADO.NET provider. For providers/databases without transaction support contains null.

public Type TransactionType { get; }

Property Value

Type

Methods

CreateConnection(string)

Creates instance of database provider connection class using provided connection string.

public DbConnection CreateConnection(string connectionString)

Parameters

connectionString string

Connection string to use with created connection.

Returns

DbConnection

Connection instance.