Table of Contents

Class SqlPredicate.Not

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

Constructors

Not(ISqlPredicate)

public Not(ISqlPredicate predicate)

Parameters

predicate ISqlPredicate

Properties

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Predicate

public ISqlPredicate Predicate { get; }

Property Value

ISqlPredicate

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

CanInvert(NullabilityContext)

public override bool CanInvert(NullabilityContext nullability)

Parameters

nullability NullabilityContext

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

Modify(ISqlPredicate)

public void Modify(ISqlPredicate predicate)

Parameters

predicate ISqlPredicate

WritePredicate(QueryElementTextWriter)

protected override void WritePredicate(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter