Table of Contents

Class ExpressionEvaluator

Namespace
LinqToDB.Expressions
Assembly
linq2db.dll

Internal API.

public static class ExpressionEvaluator
Inheritance
ExpressionEvaluator

Methods

EvaluateExpression(Expression?, IDataContext?)

public static object? EvaluateExpression(this Expression? expr, IDataContext? dataContext = null)

Parameters

expr Expression
dataContext IDataContext

Returns

object

EvaluateExpression<T>(Expression?, IDataContext?)

public static T? EvaluateExpression<T>(this Expression? expr, IDataContext? dataContext = null) where T : class

Parameters

expr Expression
dataContext IDataContext

Returns

T

Type Parameters

T