Class SqlValue
- Namespace
- Npgsql.FSharp
- Assembly
- Npgsql.FSharp.dll
public class SqlValue : IEquatable<SqlValue>, IStructuralEquatable, IComparable<SqlValue>, IComparable, IStructuralComparable
- Inheritance
-
SqlValue
- Implements
-
- Derived
-
- Inherited Members
-
Properties
IsBool
public bool IsBool { get; }
Property Value
- bool
IsBytea
public bool IsBytea { get; }
Property Value
- bool
IsDate
public bool IsDate { get; }
Property Value
- bool
IsDecimal
public bool IsDecimal { get; }
Property Value
- bool
IsHStore
public bool IsHStore { get; }
Property Value
- bool
IsInt
public bool IsInt { get; }
Property Value
- bool
IsJsonb
public bool IsJsonb { get; }
Property Value
- bool
IsLong
public bool IsLong { get; }
Property Value
- bool
IsNull
public bool IsNull { get; }
Property Value
- bool
IsNumber
public bool IsNumber { get; }
Property Value
- bool
IsShort
public bool IsShort { get; }
Property Value
- bool
IsString
public bool IsString { get; }
Property Value
- bool
IsTime
public bool IsTime { get; }
Property Value
- bool
IsTimeWithTimeZone
public bool IsTimeWithTimeZone { get; }
Property Value
- bool
IsUuid
public bool IsUuid { get; }
Property Value
- bool
Null
public static SqlValue Null { get; }
Property Value
- SqlValue
Tag
Property Value
- int
Methods
CompareTo(SqlValue)
public override sealed int CompareTo(SqlValue obj)
Parameters
obj
SqlValue
Returns
- int
CompareTo(object)
public override sealed int CompareTo(object obj)
Parameters
obj
object
Returns
- int
CompareTo(object, IComparer)
public override sealed int CompareTo(object obj, IComparer comp)
Parameters
obj
object
comp
IComparer
Returns
- int
Equals(SqlValue)
public override sealed bool Equals(SqlValue obj)
Parameters
obj
SqlValue
Returns
- bool
Equals(object)
public override sealed bool Equals(object obj)
Parameters
obj
object
Returns
- bool
Equals(object, IEqualityComparer)
public override sealed bool Equals(object obj, IEqualityComparer comp)
Parameters
obj
object
comp
IEqualityComparer
Returns
- bool
GetHashCode()
public override sealed int GetHashCode()
Returns
- int
GetHashCode(IEqualityComparer)
public override sealed int GetHashCode(IEqualityComparer comp)
Parameters
comp
IEqualityComparer
Returns
- int
NewBool(bool)
public static SqlValue NewBool(bool item)
Parameters
item
bool
Returns
- SqlValue
NewBytea(byte[])
public static SqlValue NewBytea(byte[] item)
Parameters
item
byte[]
Returns
- SqlValue
NewDate(DateTime)
public static SqlValue NewDate(DateTime item)
Parameters
item
DateTime
Returns
- SqlValue
NewDecimal(decimal)
public static SqlValue NewDecimal(decimal item)
Parameters
item
decimal
Returns
- SqlValue
NewHStore(FSharpMap<string, string>)
public static SqlValue NewHStore(FSharpMap<string, string> item)
Parameters
item
FSharpMap<string, string>
Returns
- SqlValue
NewInt(int)
public static SqlValue NewInt(int item)
Parameters
item
int
Returns
- SqlValue
NewJsonb(string)
public static SqlValue NewJsonb(string item)
Parameters
item
string
Returns
- SqlValue
NewLong(long)
public static SqlValue NewLong(long item)
Parameters
item
long
Returns
- SqlValue
NewNumber(double)
public static SqlValue NewNumber(double item)
Parameters
item
double
Returns
- SqlValue
NewShort(short)
public static SqlValue NewShort(short item)
Parameters
item
short
Returns
- SqlValue
NewString(string)
public static SqlValue NewString(string item)
Parameters
item
string
Returns
- SqlValue
NewTime(TimeSpan)
public static SqlValue NewTime(TimeSpan item)
Parameters
item
TimeSpan
Returns
- SqlValue
NewTimeWithTimeZone(DateTimeOffset)
public static SqlValue NewTimeWithTimeZone(DateTimeOffset item)
Parameters
item
DateTimeOffset
Returns
- SqlValue
NewUuid(Guid)
public static SqlValue NewUuid(Guid item)
Parameters
item
Guid
Returns
- SqlValue
ToString()
public override string ToString()
Returns
- string