Table of Contents

Class SqlGenericParamAccessExpression

Namespace
LinqToDB.Internal.Expressions
Assembly
linq2db.dll
public sealed class SqlGenericParamAccessExpression : Expression, IEquatable<SqlGenericParamAccessExpression>
Inheritance
object
SqlGenericParamAccessExpression
Implements
Inherited Members
Extension Methods

Constructors

SqlGenericParamAccessExpression(Expression, ParameterInfo)

public SqlGenericParamAccessExpression(Expression constructor, ParameterInfo parameterInfo)

Parameters

constructor Expression
parameterInfo ParameterInfo

Properties

Constructor

public Expression Constructor { get; }

Property Value

Expression

NodeType

Gets the node type of this Expression.

public override ExpressionType NodeType { get; }

Property Value

ExpressionType

One of the ExpressionType values.

ParamIndex

public int ParamIndex { get; }

Property Value

int

ParamType

public Type ParamType { get; }

Property Value

Type

ParameterInfo

public ParameterInfo ParameterInfo { get; }

Property Value

ParameterInfo

Type

Gets the static type of the expression that this Expression represents.

public override Type Type { get; }

Property Value

Type

The Type that represents the static type of the expression.

Methods

Accept(ExpressionVisitor)

Dispatches to the specific visit method for this node type. For example, MethodCallExpression calls the VisitMethodCall(MethodCallExpression).

protected override Expression Accept(ExpressionVisitor visitor)

Parameters

visitor ExpressionVisitor

The visitor to visit this node with.

Returns

Expression

The result of visiting this node.

Equals(SqlGenericParamAccessExpression?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SqlGenericParamAccessExpression? other)

Parameters

other SqlGenericParamAccessExpression

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a textual representation of the Expression.

public override string ToString()

Returns

string

A textual representation of the Expression.

Update(Expression)

public SqlGenericParamAccessExpression Update(Expression constructor)

Parameters

constructor Expression

Returns

SqlGenericParamAccessExpression

Operators

operator ==(SqlGenericParamAccessExpression?, SqlGenericParamAccessExpression?)

public static bool operator ==(SqlGenericParamAccessExpression? left, SqlGenericParamAccessExpression? right)

Parameters

left SqlGenericParamAccessExpression
right SqlGenericParamAccessExpression

Returns

bool

operator !=(SqlGenericParamAccessExpression?, SqlGenericParamAccessExpression?)

public static bool operator !=(SqlGenericParamAccessExpression? left, SqlGenericParamAccessExpression? right)

Parameters

left SqlGenericParamAccessExpression
right SqlGenericParamAccessExpression

Returns

bool