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
UnmanagedClientNamespace
public const string UnmanagedClientNamespace = "Sap.Data.Hana"
Field Value
UnmanagedProviderFactoryName
public const string UnmanagedProviderFactoryName = "Sap.Data.Hana"
Field Value
Properties
CommandType
Gets type, that implements DbCommand for current ADO.NET provider.
public Type CommandType { get; }
Property Value
ConnectionType
Gets type, that implements DbConnection for current ADO.NET provider.
public Type ConnectionType { get; }
Property Value
CreateBulkCopyColumnMapping
public Func<int, string, SapHanaProviderAdapter.HanaBulkCopyColumnMapping>? CreateBulkCopyColumnMapping { get; }
Property Value
DataReaderType
Gets type, that implements DbDataReader for current ADO.NET provider.
public Type DataReaderType { get; }
Property Value
GetDateTimeOffsetMethod
public string? GetDateTimeOffsetMethod { get; }
Property Value
GetDbType
public Func<DbParameter, SapHanaProviderAdapter.HanaDbType>? GetDbType { get; }
Property Value
GetHanaDecimalMethod
public string? GetHanaDecimalMethod { get; }
Property Value
GetOdbcDbType
public Func<DbParameter, OdbcProviderAdapter.OdbcType>? GetOdbcDbType { get; }
Property Value
GetRealVectorMethod
public string? GetRealVectorMethod { get; }
Property Value
GetTimeSpanMethod
public string? GetTimeSpanMethod { get; }
Property Value
HanaDecimalType
public Type? HanaDecimalType { get; }
Property Value
MappingSchema
public MappingSchema? MappingSchema { get; }
Property Value
ParameterType
Gets type, that implements DbParameter for current ADO.NET provider.
public Type ParameterType { get; }
Property Value
SetDbType
public Action<DbParameter, SapHanaProviderAdapter.HanaDbType>? SetDbType { get; }
Property Value
SetOdbcDbType
public Action<DbParameter, OdbcProviderAdapter.OdbcType>? SetOdbcDbType { get; }
Property Value
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
Methods
CreateConnection(string)
Creates instance of database provider connection class using provided connection string.
public DbConnection CreateConnection(string connectionString)
Parameters
connectionStringstringConnection string to use with created connection.
Returns
- DbConnection
Connection instance.