Class MySqlDataTypeProvider
Represents a provider of ISqlDataType instances.
public sealed class MySqlDataTypeProvider : ISqlDataTypeProvider
- Inheritance
-
MySqlDataTypeProvider
- Implements
- Inherited Members
Remarks
MySqlDialect implementation.
Methods
GetBinary()
Returns an ISqlDataType instance best suited to represent an array of bytes.
[Pure]
public MySqlDataType GetBinary()
Returns
- MySqlDataType
ISqlDataType for an array of bytes.
GetBinary(int)
Returns an ISqlDataType instance best suited to represent an array of bytes.
[Pure]
public MySqlDataType GetBinary(int maxLength)
Parameters
maxLength
intMaximum length of an array.
Returns
- MySqlDataType
ISqlDataType for an array of bytes.
GetBool()
Returns an ISqlDataType instance best suited to represent bool type.
[Pure]
public MySqlDataType GetBool()
Returns
- MySqlDataType
ISqlDataType for bool type.
GetDate()
Returns an ISqlDataType instance best suited to represent DateOnly type.
[Pure]
public MySqlDataType GetDate()
Returns
- MySqlDataType
ISqlDataType for DateOnly type.
GetDateTime()
Returns an ISqlDataType instance best suited to represent DateTime type.
[Pure]
public MySqlDataType GetDateTime()
Returns
- MySqlDataType
ISqlDataType for DateTime type.
GetDecimal()
Returns an ISqlDataType instance best suited to represent decimal type.
[Pure]
public MySqlDataType GetDecimal()
Returns
- MySqlDataType
ISqlDataType for decimal type.
GetDecimal(int, int)
Returns an ISqlDataType instance best suited to represent decimal type.
[Pure]
public MySqlDataType GetDecimal(int precision, int scale)
Parameters
Returns
- MySqlDataType
ISqlDataType for decimal type.
GetDouble()
Returns an ISqlDataType instance best suited to represent double type.
[Pure]
public MySqlDataType GetDouble()
Returns
- MySqlDataType
ISqlDataType for double type.
GetFixedBinary()
Returns an ISqlDataType instance best suited to represent an array of bytes of fixed length.
[Pure]
public MySqlDataType GetFixedBinary()
Returns
- MySqlDataType
ISqlDataType for an array of bytes of fixed length.
GetFixedBinary(int)
Returns an ISqlDataType instance best suited to represent an array of bytes of fixed length.
[Pure]
public MySqlDataType GetFixedBinary(int length)
Parameters
length
intLength of an array.
Returns
- MySqlDataType
ISqlDataType for an array of bytes of fixed length.
GetFixedString()
Returns an ISqlDataType instance best suited to represent string type of fixed length.
[Pure]
public MySqlDataType GetFixedString()
Returns
- MySqlDataType
ISqlDataType for string type of fixed length.
GetFixedString(int)
Returns an ISqlDataType instance best suited to represent string type of fixed length.
[Pure]
public MySqlDataType GetFixedString(int length)
Parameters
length
intLength of a string.
Returns
- MySqlDataType
ISqlDataType for string type of fixed length.
GetFloat()
Returns an ISqlDataType instance best suited to represent float type.
[Pure]
public MySqlDataType GetFloat()
Returns
- MySqlDataType
ISqlDataType for float type.
GetGuid()
Returns an ISqlDataType instance best suited to represent Guid type.
[Pure]
public MySqlDataType GetGuid()
Returns
- MySqlDataType
ISqlDataType for Guid type.
GetInt16()
Returns an ISqlDataType instance best suited to represent short type.
[Pure]
public MySqlDataType GetInt16()
Returns
- MySqlDataType
ISqlDataType for short type.
GetInt32()
Returns an ISqlDataType instance best suited to represent int type.
[Pure]
public MySqlDataType GetInt32()
Returns
- MySqlDataType
ISqlDataType for int type.
GetInt64()
Returns an ISqlDataType instance best suited to represent long type.
[Pure]
public MySqlDataType GetInt64()
Returns
- MySqlDataType
ISqlDataType for long type.
GetInt8()
Returns an ISqlDataType instance best suited to represent sbyte type.
[Pure]
public MySqlDataType GetInt8()
Returns
- MySqlDataType
ISqlDataType for sbyte type.
GetString()
Returns an ISqlDataType instance best suited to represent string type.
[Pure]
public MySqlDataType GetString()
Returns
- MySqlDataType
ISqlDataType for string type.
GetString(int)
Returns an ISqlDataType instance best suited to represent string type.
[Pure]
public MySqlDataType GetString(int maxLength)
Parameters
maxLength
intMaximum length of a string.
Returns
- MySqlDataType
ISqlDataType for string type.
GetTime()
Returns an ISqlDataType instance best suited to represent TimeOnly type.
[Pure]
public MySqlDataType GetTime()
Returns
- MySqlDataType
ISqlDataType for TimeOnly type.
GetTimeSpan()
Returns an ISqlDataType instance best suited to represent TimeSpan type.
[Pure]
public MySqlDataType GetTimeSpan()
Returns
- MySqlDataType
ISqlDataType for TimeSpan type.
GetTimestamp()
Returns an ISqlDataType instance best suited to represent a number of ticks elapsed since the UnixEpoch.
[Pure]
public MySqlDataType GetTimestamp()
Returns
- MySqlDataType
ISqlDataType for a number of ticks elapsed since the UnixEpoch.
GetUInt16()
Returns an ISqlDataType instance best suited to represent ushort type.
[Pure]
public MySqlDataType GetUInt16()
Returns
- MySqlDataType
ISqlDataType for ushort type.
GetUInt32()
Returns an ISqlDataType instance best suited to represent uint type.
[Pure]
public MySqlDataType GetUInt32()
Returns
- MySqlDataType
ISqlDataType for uint type.
GetUInt64()
Returns an ISqlDataType instance best suited to represent ulong type.
[Pure]
public MySqlDataType GetUInt64()
Returns
- MySqlDataType
ISqlDataType for ulong type.
GetUInt8()
Returns an ISqlDataType instance best suited to represent byte type.
[Pure]
public MySqlDataType GetUInt8()
Returns
- MySqlDataType
ISqlDataType for byte type.
GetUtcDateTime()
Returns an ISqlDataType instance best suited to represent DateTime type of Utc kind.
[Pure]
public MySqlDataType GetUtcDateTime()
Returns
- MySqlDataType
ISqlDataType for DateTime type of Utc kind.