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