Table of Contents

Class ExpressionHelper

Namespace
LinqToDB.Expressions
Assembly
linq2db.dll
public static class ExpressionHelper
Inheritance
ExpressionHelper

Methods

Field(Expression, string)

Compared to Field(Expression, string), performs case-sensitive field search.

public static MemberExpression Field(Expression obj, string name)

Parameters

obj Expression
name string

Returns

MemberExpression

Field(Type, string)

Compared to Field(Expression, Type, string), performs case-sensitive field search and search only for static fields.

public static MemberExpression Field(Type type, string name)

Parameters

type Type
name string

Returns

MemberExpression

Property(Expression, string)

Compared to Property(Expression, string), performs case-sensitive property search.

public static MemberExpression Property(Expression obj, string name)

Parameters

obj Expression
name string

Returns

MemberExpression

Property(Type, string)

Compared to Property(Expression, Type, string), performs case-sensitive property search and search only for static properties.

public static MemberExpression Property(Type type, string name)

Parameters

type Type
name string

Returns

MemberExpression

PropertyOrField(Expression, string)

Compared to PropertyOrField(Expression, string), performs case-sensitive member search.

public static MemberExpression PropertyOrField(Expression obj, string name)

Parameters

obj Expression
name string

Returns

MemberExpression

PropertyOrField(Type, string, bool)

Compared to PropertyOrField(Expression, string), performs case-sensitive member search.

public static MemberExpression PropertyOrField(Type type, string name, bool allowInherited = true)

Parameters

type Type
name string
allowInherited bool

Returns

MemberExpression