MySqlProviderTypeMap
Namespace: MJCZone.DapperMatic.Providers.MySql
Assembly: MJCZone.DapperMatic
Summary
Provides type mapping for MySQL database provider.
Inheritance
Base Class: DbProviderTypeMapBase
sealed public
Contents
Constructors (1) | Methods (8)
Constructors
MySqlProviderTypeMap
MySqlProviderTypeMap()Methods
| Method | Summary |
|---|---|
| TryGetDotnetTypeDescriptorMatchingFullSqlTypeName | Tries to get the .NET type descriptor that matches the specified full SQL type name. |
| TryGetDotnetTypeDescriptorMatchingFullSqlTypeName | Tries to get the .NET type descriptor that matches the specified SQL type descriptor. |
| TryGetProviderSqlTypeMatchingDotnetType | Tries to get the SQL type descriptor that matches the specified .NET type. |
| TryGetProviderSqlTypeMatchingDotnetType | Tries to get the SQL type descriptor that matches the specified .NET type descriptor. |
| GetType | |
| ToString | |
| Equals | |
| GetHashCode |
TryGetDotnetTypeDescriptorMatchingFullSqlTypeName
Tries to get the .NET type descriptor that matches the specified full SQL type name.
TryGetDotnetTypeDescriptorMatchingFullSqlTypeName(
string sqlTypeName,
DotnetTypeDescriptor dotnetTypeDescriptor)Parameters
- sqlTypeName (string) - The full SQL type name.
- dotnetTypeDescriptor (DotnetTypeDescriptor) - The .NET type descriptor, if found.
Returns
True if a matching .NET type descriptor is found; otherwise, false.
TryGetDotnetTypeDescriptorMatchingFullSqlTypeName
Tries to get the .NET type descriptor that matches the specified SQL type descriptor.
TryGetDotnetTypeDescriptorMatchingFullSqlTypeName(
SqlTypeDescriptor sqlTypeDescriptor,
DotnetTypeDescriptor dotnetTypeDescriptor)Parameters
- sqlTypeDescriptor (SqlTypeDescriptor) - The SQL type descriptor.
- dotnetTypeDescriptor (DotnetTypeDescriptor) - The .NET type descriptor, if found.
Returns
True if a matching .NET type descriptor is found; otherwise, false.
TryGetProviderSqlTypeMatchingDotnetType
Tries to get the SQL type descriptor that matches the specified .NET type.
TryGetProviderSqlTypeMatchingDotnetType(
Type type,
SqlTypeDescriptor sqlTypeDescriptor)Parameters
- type (Type) - The .NET type.
- sqlTypeDescriptor (SqlTypeDescriptor) - The SQL type descriptor, if found.
Returns
True if a matching SQL type descriptor is found; otherwise, false.
TryGetProviderSqlTypeMatchingDotnetType
Tries to get the SQL type descriptor that matches the specified .NET type descriptor.
TryGetProviderSqlTypeMatchingDotnetType(
DotnetTypeDescriptor dotnetTypeDescriptor,
SqlTypeDescriptor sqlTypeDescriptor)Parameters
- dotnetTypeDescriptor (DotnetTypeDescriptor) - The .NET type descriptor.
- sqlTypeDescriptor (SqlTypeDescriptor) - The SQL type descriptor, if found.
Returns
True if a matching SQL type descriptor is found; otherwise, false.
GetType
GetType()ToString
ToString()Equals
Equals()GetHashCode
GetHashCode()