Table of Contents

Class SapHanaProviderAdapter

Namespace
LinqToDB.Internal.DataProvider.SapHana
Assembly
linq2db.dll
public sealed class SapHanaProviderAdapter : IDynamicProviderAdapter
Inheritance
SapHanaProviderAdapter
Implements
Inherited Members
Extension Methods

Fields

UnmanagedAssemblyNames

public static readonly IEnumerable<string> UnmanagedAssemblyNames

Field Value

IEnumerable<string>

UnmanagedClientNamespace

public const string UnmanagedClientNamespace = "Sap.Data.Hana"

Field Value

string

UnmanagedProviderFactoryName

public const string UnmanagedProviderFactoryName = "Sap.Data.Hana"

Field Value

string

Properties

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

CreateBulkCopyColumnMapping

public Func<int, string, SapHanaProviderAdapter.HanaBulkCopyColumnMapping>? CreateBulkCopyColumnMapping { get; }

Property Value

Func<int, string, SapHanaProviderAdapter.HanaBulkCopyColumnMapping>

DataReaderType

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

public Type DataReaderType { get; }

Property Value

Type

GetDateTimeOffsetMethod

public string? GetDateTimeOffsetMethod { get; }

Property Value

string

GetDbType

public Func<DbParameter, SapHanaProviderAdapter.HanaDbType>? GetDbType { get; }

Property Value

Func<DbParameter, SapHanaProviderAdapter.HanaDbType>

GetHanaDecimalMethod

public string? GetHanaDecimalMethod { get; }

Property Value

string

GetOdbcDbType

public Func<DbParameter, OdbcProviderAdapter.OdbcType>? GetOdbcDbType { get; }

Property Value

Func<DbParameter, OdbcProviderAdapter.OdbcType>

GetRealVectorMethod

public string? GetRealVectorMethod { get; }

Property Value

string

GetTimeSpanMethod

public string? GetTimeSpanMethod { get; }

Property Value

string

HanaDecimalType

public Type? HanaDecimalType { get; }

Property Value

Type

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

SetDbType

public Action<DbParameter, SapHanaProviderAdapter.HanaDbType>? SetDbType { get; }

Property Value

Action<DbParameter, SapHanaProviderAdapter.HanaDbType>

SetOdbcDbType

public Action<DbParameter, OdbcProviderAdapter.OdbcType>? SetOdbcDbType { get; }

Property Value

Action<DbParameter, OdbcProviderAdapter.OdbcType>

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.