Class MySqlProviderAdapter
- Namespace
- LinqToDB.DataProvider.MySql
- Assembly
- linq2db.dll
public abstract class MySqlProviderAdapter : IDynamicProviderAdapter
- Inheritance
-
MySqlProviderAdapter
- Implements
- Extension Methods
Fields
MySqlConnectorAssemblyName
public const string MySqlConnectorAssemblyName = "MySqlConnector"
Field Value
MySqlConnectorNamespace
public const string MySqlConnectorNamespace = "MySqlConnector"
Field Value
MySqlConnectorTypesNamespace
public const string MySqlConnectorTypesNamespace = "MySqlConnector"
Field Value
MySqlDataAssemblyName
public const string MySqlDataAssemblyName = "MySql.Data"
Field Value
MySqlDataClientNamespace
public const string MySqlDataClientNamespace = "MySql.Data.MySqlClient"
Field Value
MySqlDataTypesNamespace
public const string MySqlDataTypesNamespace = "MySql.Data.Types"
Field Value
OldMySqlConnectorNamespace
public const string OldMySqlConnectorNamespace = "MySql.Data.MySqlClient"
Field Value
OldMySqlConnectorTypesNamespace
public const string OldMySqlConnectorTypesNamespace = "MySql.Data.Types"
Field Value
Properties
BulkCopy
public MySqlProviderAdapter.BulkCopyAdapter? BulkCopy { get; protected set; }
Property Value
CommandType
Gets type, that implements DbCommand for current ADO.NET provider.
public Type CommandType { get; protected set; }
Property Value
ConnectionType
Gets type, that implements DbConnection for current ADO.NET provider.
public Type ConnectionType { get; protected set; }
Property Value
DataReaderType
Gets type, that implements DbDataReader for current ADO.NET provider.
public Type DataReaderType { get; protected set; }
Property Value
GetDateOnlyMethodName
public string? GetDateOnlyMethodName { get; protected set; }
Property Value
GetDateTimeOffsetMethodName
MySqlConnector-only.
public string? GetDateTimeOffsetMethodName { get; protected set; }
Property Value
GetDbType
Returns object, because both providers use different enums and we anyway don't need typed value.
public Func<DbParameter, object> GetDbType { get; protected set; }
Property Value
GetMySqlDateTimeMethodName
public string GetMySqlDateTimeMethodName { get; protected set; }
Property Value
GetMySqlDecimalMethodName
Not supported by MySqlConnector prior to 2.1.0.
public string? GetMySqlDecimalMethodName { get; protected set; }
Property Value
GetSByteMethodName
public string? GetSByteMethodName { get; protected set; }
Property Value
GetTimeOnlyMethodName
public string? GetTimeOnlyMethodName { get; protected set; }
Property Value
GetTimeSpanMethodName
public string? GetTimeSpanMethodName { get; protected set; }
Property Value
GetUInt16MethodName
public string? GetUInt16MethodName { get; protected set; }
Property Value
GetUInt32MethodName
public string? GetUInt32MethodName { get; protected set; }
Property Value
GetUInt64MethodName
public string? GetUInt64MethodName { get; protected set; }
Property Value
IsDateOnlySupported
public bool IsDateOnlySupported { get; protected set; }
Property Value
IsPackageProceduresSupported
public abstract bool IsPackageProceduresSupported { get; }
Property Value
MappingSchema
public MappingSchema MappingSchema { get; protected set; }
Property Value
MySqlDateTimeType
public Type MySqlDateTimeType { get; protected set; }
Property Value
MySqlDecimalGetter
Not needed for MySqlConnector as it supports MySqlDecimal parameters.
public Func<object, string>? MySqlDecimalGetter { get; protected set; }
Property Value
MySqlDecimalType
Not supported by MySqlConnector prior to 2.1.0.
public Type? MySqlDecimalType { get; protected set; }
Property Value
MySqlGeometryType
public Type MySqlGeometryType { get; protected set; }
Property Value
ParameterType
Gets type, that implements DbParameter for current ADO.NET provider.
public Type ParameterType { get; protected set; }
Property Value
ProviderType
public MySqlProviderAdapter.MySqlProvider ProviderType { get; protected set; }
Property Value
ProviderTypesNamespace
public string ProviderTypesNamespace { get; protected set; }
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; protected set; }
Property Value
Methods
GetInstance(string)
public static MySqlProviderAdapter GetInstance(string name)
Parameters
name
string