Table of Contents

Class SqliteDataTypeProvider

Namespace
LfrlAnvil.Sqlite
Assembly
LfrlAnvil.Sqlite.dll

Represents a provider of ISqlDataType instances.

public sealed class SqliteDataTypeProvider : ISqlDataTypeProvider
Inheritance
SqliteDataTypeProvider
Implements
Inherited Members

Remarks

SqliteDialect implementation.

Methods

GetAny()

Returns Any type.

[Pure]
public SqliteDataType GetAny()

Returns

SqliteDataType

Any.

GetBinary()

Returns an ISqlDataType instance best suited to represent an array of bytes.

[Pure]
public SqliteDataType GetBinary()

Returns

SqliteDataType

ISqlDataType for an array of bytes.

GetBinary(int)

Returns an ISqlDataType instance best suited to represent an array of bytes.

[Pure]
public SqliteDataType GetBinary(int maxLength)

Parameters

maxLength int

Maximum length of an array.

Returns

SqliteDataType

ISqlDataType for an array of bytes.

GetBool()

Returns an ISqlDataType instance best suited to represent bool type.

[Pure]
public SqliteDataType GetBool()

Returns

SqliteDataType

ISqlDataType for bool type.

GetDate()

Returns an ISqlDataType instance best suited to represent DateOnly type.

[Pure]
public SqliteDataType GetDate()

Returns

SqliteDataType

ISqlDataType for DateOnly type.

GetDateTime()

Returns an ISqlDataType instance best suited to represent DateTime type.

[Pure]
public SqliteDataType GetDateTime()

Returns

SqliteDataType

ISqlDataType for DateTime type.

GetDecimal()

Returns an ISqlDataType instance best suited to represent decimal type.

[Pure]
public SqliteDataType GetDecimal()

Returns

SqliteDataType

ISqlDataType for decimal type.

GetDecimal(int, int)

Returns an ISqlDataType instance best suited to represent decimal type.

[Pure]
public SqliteDataType GetDecimal(int precision, int scale)

Parameters

precision int

Decimal precision.

scale int

Decimal scale.

Returns

SqliteDataType

ISqlDataType for decimal type.

GetDouble()

Returns an ISqlDataType instance best suited to represent double type.

[Pure]
public SqliteDataType GetDouble()

Returns

SqliteDataType

ISqlDataType for double type.

GetFixedBinary()

Returns an ISqlDataType instance best suited to represent an array of bytes of fixed length.

[Pure]
public SqliteDataType GetFixedBinary()

Returns

SqliteDataType

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 SqliteDataType GetFixedBinary(int length)

Parameters

length int

Length of an array.

Returns

SqliteDataType

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 SqliteDataType GetFixedString()

Returns

SqliteDataType

ISqlDataType for string type of fixed length.

GetFixedString(int)

Returns an ISqlDataType instance best suited to represent string type of fixed length.

[Pure]
public SqliteDataType GetFixedString(int length)

Parameters

length int

Length of a string.

Returns

SqliteDataType

ISqlDataType for string type of fixed length.

GetFloat()

Returns an ISqlDataType instance best suited to represent float type.

[Pure]
public SqliteDataType GetFloat()

Returns

SqliteDataType

ISqlDataType for float type.

GetGuid()

Returns an ISqlDataType instance best suited to represent Guid type.

[Pure]
public SqliteDataType GetGuid()

Returns

SqliteDataType

ISqlDataType for Guid type.

GetInt16()

Returns an ISqlDataType instance best suited to represent short type.

[Pure]
public SqliteDataType GetInt16()

Returns

SqliteDataType

ISqlDataType for short type.

GetInt32()

Returns an ISqlDataType instance best suited to represent int type.

[Pure]
public SqliteDataType GetInt32()

Returns

SqliteDataType

ISqlDataType for int type.

GetInt64()

Returns an ISqlDataType instance best suited to represent long type.

[Pure]
public SqliteDataType GetInt64()

Returns

SqliteDataType

ISqlDataType for long type.

GetInt8()

Returns an ISqlDataType instance best suited to represent sbyte type.

[Pure]
public SqliteDataType GetInt8()

Returns

SqliteDataType

ISqlDataType for sbyte type.

GetString()

Returns an ISqlDataType instance best suited to represent string type.

[Pure]
public SqliteDataType GetString()

Returns

SqliteDataType

ISqlDataType for string type.

GetString(int)

Returns an ISqlDataType instance best suited to represent string type.

[Pure]
public SqliteDataType GetString(int maxLength)

Parameters

maxLength int

Maximum length of a string.

Returns

SqliteDataType

ISqlDataType for string type.

GetTime()

Returns an ISqlDataType instance best suited to represent TimeOnly type.

[Pure]
public SqliteDataType GetTime()

Returns

SqliteDataType

ISqlDataType for TimeOnly type.

GetTimeSpan()

Returns an ISqlDataType instance best suited to represent TimeSpan type.

[Pure]
public SqliteDataType GetTimeSpan()

Returns

SqliteDataType

ISqlDataType for TimeSpan type.

GetTimestamp()

Returns an ISqlDataType instance best suited to represent a number of ticks elapsed since the UnixEpoch.

[Pure]
public SqliteDataType GetTimestamp()

Returns

SqliteDataType

ISqlDataType for a number of ticks elapsed since the UnixEpoch.

GetUInt16()

Returns an ISqlDataType instance best suited to represent ushort type.

[Pure]
public SqliteDataType GetUInt16()

Returns

SqliteDataType

ISqlDataType for ushort type.

GetUInt32()

Returns an ISqlDataType instance best suited to represent uint type.

[Pure]
public SqliteDataType GetUInt32()

Returns

SqliteDataType

ISqlDataType for uint type.

GetUInt64()

Returns an ISqlDataType instance best suited to represent ulong type.

[Pure]
public SqliteDataType GetUInt64()

Returns

SqliteDataType

ISqlDataType for ulong type.

GetUInt8()

Returns an ISqlDataType instance best suited to represent byte type.

[Pure]
public SqliteDataType GetUInt8()

Returns

SqliteDataType

ISqlDataType for byte type.

GetUtcDateTime()

Returns an ISqlDataType instance best suited to represent DateTime type of Utc kind.

[Pure]
public SqliteDataType GetUtcDateTime()

Returns

SqliteDataType

ISqlDataType for DateTime type of Utc kind.