Show / Hide Table of Contents

Class BinaryExpressionConverterBase

Base class for binary expression converters.

Inheritance
System.Object
BinaryExpressionConverterBase
GteExpressionConverter
GtExpressionConverter
LteExpressionConverter
LtExpressionConverter
NeqExpressionConverter
Implements
IExpressionConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Client.Queries.Conversion.ExpressionConverters
Assembly: Kephas.Data.Client.dll
Syntax
public abstract class BinaryExpressionConverterBase : IExpressionConverter

Constructors

| Improve this Doc View Source

BinaryExpressionConverterBase(Func<Expression, Expression, BinaryExpression>)

Initializes a new instance of the BinaryExpressionConverterBase class.

Declaration
protected BinaryExpressionConverterBase(Func<Expression, Expression, BinaryExpression> binaryExpressionFactory)
Parameters
Type Name Description
System.Func<System.Linq.Expressions.Expression, System.Linq.Expressions.Expression, System.Linq.Expressions.BinaryExpression> binaryExpressionFactory

The binary expression factory.

Methods

| Improve this Doc View Source

ConvertExpression(IList<Expression>, Type, ParameterExpression)

Converts the provided expression to a LINQ expression.

Declaration
public virtual Expression ConvertExpression(IList<Expression> args, Type clientItemType, ParameterExpression lambdaArg)
Parameters
Type Name Description
System.Collections.Generic.IList<System.Linq.Expressions.Expression> args

The arguments.

System.Type clientItemType

The client item type.

System.Linq.Expressions.ParameterExpression lambdaArg

The lambda argument.

Returns
Type Description
System.Linq.Expressions.Expression

The converted expression.

| Improve this Doc View Source

PreProcessArguments(IList<Expression>)

Pre processes the arguments to make their types match.

Declaration
protected virtual IList<Expression> PreProcessArguments(IList<Expression> args)
Parameters
Type Name Description
System.Collections.Generic.IList<System.Linq.Expressions.Expression> args

The arguments.

Returns
Type Description
System.Collections.Generic.IList<System.Linq.Expressions.Expression>

A list of preprocessed arguments.

Implements

IExpressionConverter

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX