Class SqlValue
public class SqlValue : ISqlExpression, IQueryElement, IEquatable<ISqlExpression>, ISqlExpressionWalkable
- Inheritance
-
SqlValue
- Implements
- Extension Methods
Constructors
SqlValue(DbDataType, object?)
public SqlValue(DbDataType valueType, object? value)
Parameters
valueType
DbDataTypevalue
object
SqlValue(object)
public SqlValue(object value)
Parameters
value
object
SqlValue(Type, object?)
public SqlValue(Type systemType, object? value)
Parameters
Properties
CanBeNull
public bool CanBeNull { get; }
Property Value
ElementType
public QueryElementType ElementType { get; }
Property Value
Precedence
public int Precedence { get; }
Property Value
Value
Provider specific value
public object? Value { get; }
Property Value
ValueType
public DbDataType ValueType { get; set; }
Property Value
Methods
Deconstruct(out object?)
public void Deconstruct(out object? value)
Parameters
value
object
Equals(ISqlExpression, Func<ISqlExpression, ISqlExpression, bool>)
public bool Equals(ISqlExpression other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
other
ISqlExpressioncomparer
Func<ISqlExpression, ISqlExpression, bool>
Returns
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()