Table of Contents

Class SqlParameterizedExpressionBase

Namespace
LinqToDB.Internal.SqlQuery
Assembly
linq2db.dll
public abstract class SqlParameterizedExpressionBase : SqlExpressionBase, ISqlExpression, IQueryElement, IEquatable<ISqlExpression>
Inheritance
SqlParameterizedExpressionBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

SqlParameterizedExpressionBase(DbDataType, string, int, SqlFlags, ParametersNullabilityType, bool?, params ISqlExpression[])

protected SqlParameterizedExpressionBase(DbDataType type, string exprOrName, int precedence, SqlFlags flags, ParametersNullabilityType nullabilityType, bool? canBeNull, params ISqlExpression[] parameters)

Parameters

type DbDataType
exprOrName string
precedence int
flags SqlFlags
nullabilityType ParametersNullabilityType
canBeNull bool?
parameters ISqlExpression[]

Properties

CanBeNull

public bool CanBeNull { get; set; }

Property Value

bool

CanBeNullNullable

public bool? CanBeNullNullable { get; }

Property Value

bool?

ExprOrName

protected string ExprOrName { get; }

Property Value

string

Flags

public SqlFlags Flags { get; }

Property Value

SqlFlags

IsAggregate

public bool IsAggregate { get; }

Property Value

bool

IsPredicate

public bool IsPredicate { get; }

Property Value

bool

IsPure

public bool IsPure { get; }

Property Value

bool

IsWindowFunction

public bool IsWindowFunction { get; }

Property Value

bool

NullabilityType

public ParametersNullabilityType NullabilityType { get; }

Property Value

ParametersNullabilityType

Parameters

public ISqlExpression[] Parameters { get; }

Property Value

ISqlExpression[]

Precedence

public override int Precedence { get; }

Property Value

int

SystemType

public override Type? SystemType { get; }

Property Value

Type

Type

public DbDataType Type { get; }

Property Value

DbDataType

Methods

CanBeNullable(NullabilityContext)

public override bool CanBeNullable(NullabilityContext nullability)

Parameters

nullability NullabilityContext

Returns

bool

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

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

Parameters

other ISqlExpression
comparer Func<ISqlExpression, ISqlExpression, bool>

Returns

bool

GetElementHashCode()

public override int GetElementHashCode()

Returns

int