Interface ISqlDataTypeProvider
Represents a provider of ISqlDataType instances.
public interface ISqlDataTypeProvider
Methods
GetBinary()
Returns an ISqlDataType instance best suited to represent an array of bytes.
[Pure]
ISqlDataType GetBinary()
Returns
- ISqlDataType
ISqlDataType for an array of bytes.
GetBinary(int)
Returns an ISqlDataType instance best suited to represent an array of bytes.
[Pure]
ISqlDataType GetBinary(int maxLength)
Parameters
maxLength
intMaximum length of an array.
Returns
- ISqlDataType
ISqlDataType for an array of bytes.
GetBool()
Returns an ISqlDataType instance best suited to represent bool type.
[Pure]
ISqlDataType GetBool()
Returns
- ISqlDataType
ISqlDataType for bool type.
GetDate()
Returns an ISqlDataType instance best suited to represent DateOnly type.
[Pure]
ISqlDataType GetDate()
Returns
- ISqlDataType
ISqlDataType for DateOnly type.
GetDateTime()
Returns an ISqlDataType instance best suited to represent DateTime type.
[Pure]
ISqlDataType GetDateTime()
Returns
- ISqlDataType
ISqlDataType for DateTime type.
GetDecimal()
Returns an ISqlDataType instance best suited to represent decimal type.
[Pure]
ISqlDataType GetDecimal()
Returns
- ISqlDataType
ISqlDataType for decimal type.
GetDecimal(int, int)
Returns an ISqlDataType instance best suited to represent decimal type.
[Pure]
ISqlDataType GetDecimal(int precision, int scale)
Parameters
Returns
- ISqlDataType
ISqlDataType for decimal type.
GetDouble()
Returns an ISqlDataType instance best suited to represent double type.
[Pure]
ISqlDataType GetDouble()
Returns
- ISqlDataType
ISqlDataType for double type.
GetFixedBinary()
Returns an ISqlDataType instance best suited to represent an array of bytes of fixed length.
[Pure]
ISqlDataType GetFixedBinary()
Returns
- ISqlDataType
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]
ISqlDataType GetFixedBinary(int length)
Parameters
length
intLength of an array.
Returns
- ISqlDataType
ISqlDataType for an array of bytes of fixed length.
GetFixedString()
Returns an ISqlDataType instance best suited to represent string type of fixed length.
[Pure]
ISqlDataType GetFixedString()
Returns
- ISqlDataType
ISqlDataType for string type of fixed length.
GetFixedString(int)
Returns an ISqlDataType instance best suited to represent string type of fixed length.
[Pure]
ISqlDataType GetFixedString(int length)
Parameters
length
intLength of a string.
Returns
- ISqlDataType
ISqlDataType for string type of fixed length.
GetFloat()
Returns an ISqlDataType instance best suited to represent float type.
[Pure]
ISqlDataType GetFloat()
Returns
- ISqlDataType
ISqlDataType for float type.
GetGuid()
Returns an ISqlDataType instance best suited to represent Guid type.
[Pure]
ISqlDataType GetGuid()
Returns
- ISqlDataType
ISqlDataType for Guid type.
GetInt16()
Returns an ISqlDataType instance best suited to represent short type.
[Pure]
ISqlDataType GetInt16()
Returns
- ISqlDataType
ISqlDataType for short type.
GetInt32()
Returns an ISqlDataType instance best suited to represent int type.
[Pure]
ISqlDataType GetInt32()
Returns
- ISqlDataType
ISqlDataType for int type.
GetInt64()
Returns an ISqlDataType instance best suited to represent long type.
[Pure]
ISqlDataType GetInt64()
Returns
- ISqlDataType
ISqlDataType for long type.
GetInt8()
Returns an ISqlDataType instance best suited to represent sbyte type.
[Pure]
ISqlDataType GetInt8()
Returns
- ISqlDataType
ISqlDataType for sbyte type.
GetString()
Returns an ISqlDataType instance best suited to represent string type.
[Pure]
ISqlDataType GetString()
Returns
- ISqlDataType
ISqlDataType for string type.
GetString(int)
Returns an ISqlDataType instance best suited to represent string type.
[Pure]
ISqlDataType GetString(int maxLength)
Parameters
maxLength
intMaximum length of a string.
Returns
- ISqlDataType
ISqlDataType for string type.
GetTime()
Returns an ISqlDataType instance best suited to represent TimeOnly type.
[Pure]
ISqlDataType GetTime()
Returns
- ISqlDataType
ISqlDataType for TimeOnly type.
GetTimeSpan()
Returns an ISqlDataType instance best suited to represent TimeSpan type.
[Pure]
ISqlDataType GetTimeSpan()
Returns
- ISqlDataType
ISqlDataType for TimeSpan type.
GetTimestamp()
Returns an ISqlDataType instance best suited to represent a number of ticks elapsed since the UnixEpoch.
[Pure]
ISqlDataType GetTimestamp()
Returns
- ISqlDataType
ISqlDataType for a number of ticks elapsed since the UnixEpoch.
GetUInt16()
Returns an ISqlDataType instance best suited to represent ushort type.
[Pure]
ISqlDataType GetUInt16()
Returns
- ISqlDataType
ISqlDataType for ushort type.
GetUInt32()
Returns an ISqlDataType instance best suited to represent uint type.
[Pure]
ISqlDataType GetUInt32()
Returns
- ISqlDataType
ISqlDataType for uint type.
GetUInt64()
Returns an ISqlDataType instance best suited to represent ulong type.
[Pure]
ISqlDataType GetUInt64()
Returns
- ISqlDataType
ISqlDataType for ulong type.
GetUInt8()
Returns an ISqlDataType instance best suited to represent byte type.
[Pure]
ISqlDataType GetUInt8()
Returns
- ISqlDataType
ISqlDataType for byte type.
GetUtcDateTime()
Returns an ISqlDataType instance best suited to represent DateTime type of Utc kind.
[Pure]
ISqlDataType GetUtcDateTime()
Returns
- ISqlDataType
ISqlDataType for DateTime type of Utc kind.