C# Class SIPSorcery.Persistence.SimpleDBExpressionVisitor

Inheritance: ExpressionVisitor
Datei anzeigen Open project: sipsorcery/sipsorcery

Protected Methods

Method Description
VisitBinary ( BinaryExpression b ) : Expression
VisitConstant ( ConstantExpression c ) : Expression
VisitMemberAccess ( MemberExpression m ) : Expression
VisitMethodCall ( MethodCallExpression m ) : Expression
VisitUnary ( UnaryExpression u ) : Expression

Private Methods

Method Description
GetMemberType ( MemberExpression m ) : Type
GetTableName ( MethodCallExpression m ) : string
GetTableName ( Type tableType ) : string
IsPrimaryKey ( MemberExpression m ) : bool
SimpleDBExpressionVisitor ( ) : System
StripQuotes ( Expression e ) : Expression
Translate ( Expression expression ) : string

Method Details

VisitBinary() protected method

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

VisitConstant() protected method

protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
return System.Linq.Expressions.Expression

VisitMemberAccess() protected method

protected VisitMemberAccess ( MemberExpression m ) : Expression
m System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression m ) : Expression
m System.Linq.Expressions.MethodCallExpression
return System.Linq.Expressions.Expression

VisitUnary() protected method

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