Table of Contents

Class SqlPredicate.IsDistinct

Namespace
LinqToDB.Internal.SqlQuery
Assembly
linq2db.dll
public sealed class SqlPredicate.IsDistinct : SqlPredicate.BaseNotExpr, ISqlPredicate, IQueryElement
Inheritance
SqlPredicate.IsDistinct
Implements
Inherited Members
Extension Methods

Constructors

IsDistinct(ISqlExpression, bool, ISqlExpression)

public IsDistinct(ISqlExpression exp1, bool isNot, ISqlExpression exp2)

Parameters

exp1 ISqlExpression
isNot bool
exp2 ISqlExpression

Properties

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Expr2

public ISqlExpression Expr2 { get; }

Property Value

ISqlExpression

Methods

CanBeUnknown(NullabilityContext, bool)

Returns true if predicate could be evaluated to UNKNOWN.

public override bool CanBeUnknown(NullabilityContext nullability, bool withoutUnknownErased)

Parameters

nullability NullabilityContext
withoutUnknownErased bool

Returns

bool

Equals(ISqlPredicate, Func<ISqlExpression, ISqlExpression, bool>)

public override bool Equals(ISqlPredicate other, Func<ISqlExpression, ISqlExpression, bool> comparer)

Parameters

other ISqlPredicate
comparer Func<ISqlExpression, ISqlExpression, bool>

Returns

bool

GetElementHashCode()

public override int GetElementHashCode()

Returns

int

Invert(NullabilityContext)

public override ISqlPredicate Invert(NullabilityContext nullability)

Parameters

nullability NullabilityContext

Returns

ISqlPredicate

WritePredicate(QueryElementTextWriter)

protected override void WritePredicate(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter