C# Class Shaolinq.Persistence.Linq.Optimizers.SqlEnumTypeNormalizer

Inheritance: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
Mostrar archivo Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
Normalize ( Expression expression, Type persistedType ) : Expression
SqlEnumTypeNormalizer ( Type persistedType ) : System

Protected Methods

Method Description
VisitBinary ( BinaryExpression binaryExpression ) : Expression
VisitUnary ( UnaryExpression unaryExpression ) : Expression

Method Details

Normalize() public static method

public static Normalize ( Expression expression, Type persistedType ) : Expression
expression System.Linq.Expressions.Expression
persistedType System.Type
return System.Linq.Expressions.Expression

SqlEnumTypeNormalizer() public method

public SqlEnumTypeNormalizer ( Type persistedType ) : System
persistedType System.Type
return System

VisitBinary() protected method

protected VisitBinary ( BinaryExpression binaryExpression ) : Expression
binaryExpression System.Linq.Expressions.BinaryExpression
return System.Linq.Expressions.Expression

VisitUnary() protected method

protected VisitUnary ( UnaryExpression unaryExpression ) : Expression
unaryExpression System.Linq.Expressions.UnaryExpression
return System.Linq.Expressions.Expression