WhereValidator

Overview

Checks WhereExpressions for errors. The main purpose of this class is to scan all objects of WhereExpession trees and to make sure that it contains valid field names.

Location

 

constructor

 

constructor

 

WhereValidator()

 

Sub New

Validate (WhereExpression, array of String, String): Int32

 

method Validate(expression: WhereExpression; allowedFieldNames: array of String; out errors: String): Int32

 

Int32 Validate(WhereExpression expression, String[] allowedFieldNames, out String errors)

 

Function Validate(expression As WhereExpression, allowedFieldNames As array of String, <OutAttribute> ByRef errors As String) As Int32

Parameters:

  • expression:
  • allowedFieldNames:
  • errors:

Validate (WhereExpression, array of String, String): Int32

 

class method Validate(expression: WhereExpression; allowedFieldNames: array of String; out errors: String): Int32

 

static Int32 Validate(WhereExpression expression, String[] allowedFieldNames, out String errors)

 

Shared Function Validate(expression As WhereExpression, allowedFieldNames As array of String, <OutAttribute> ByRef errors As String) As Int32

Parameters:

  • expression:
  • allowedFieldNames:
  • errors:

Visit  protected    (declared in WhereVisitor)

 

method Visit(expression: WhereExpression): WhereExpression

 

WhereExpression Visit(WhereExpression expression)

 

Function Visit(expression As WhereExpression) As WhereExpression

Parameters:

  • expression:

VisitBetween  protected    (declared in WhereVisitor)

 

method VisitBetween(expression: BetweenExpression): WhereExpression

 

WhereExpression VisitBetween(BetweenExpression expression)

 

Function VisitBetween(expression As BetweenExpression) As WhereExpression

Parameters:

  • expression:

VisitBinary  protected    (declared in WhereVisitor)

 

method VisitBinary(expression: BinaryExpression): WhereExpression

 

WhereExpression VisitBinary(BinaryExpression expression)

 

Function VisitBinary(expression As BinaryExpression) As WhereExpression

Parameters:

  • expression:

VisitConstant  protected    (declared in WhereVisitor)

 

method VisitConstant(expression: ConstantExpression): WhereExpression

 

WhereExpression VisitConstant(ConstantExpression expression)

 

Function VisitConstant(expression As ConstantExpression) As WhereExpression

Parameters:

  • expression:

VisitField  protected

 

method VisitField(expression: FieldExpression): WhereExpression

 

WhereExpression VisitField(FieldExpression expression)

 

Function VisitField(expression As FieldExpression) As WhereExpression

Parameters:

  • expression:

VisitList  protected    (declared in WhereVisitor)

 

method VisitList(expression: ListExpression): WhereExpression

 

WhereExpression VisitList(ListExpression expression)

 

Function VisitList(expression As ListExpression) As WhereExpression

Parameters:

  • expression:

VisitMacro  protected    (declared in WhereVisitor)

 

method VisitMacro(expression: MacroExpression): WhereExpression

 

WhereExpression VisitMacro(MacroExpression expression)

 

Function VisitMacro(expression As MacroExpression) As WhereExpression

Parameters:

  • expression:

VisitNull  protected    (declared in WhereVisitor)

 

method VisitNull(expression: NullExpression): WhereExpression

 

WhereExpression VisitNull(NullExpression expression)

 

Function VisitNull(expression As NullExpression) As WhereExpression

Parameters:

  • expression:

VisitParameter  protected    (declared in WhereVisitor)

 

method VisitParameter(expression: ParameterExpression): WhereExpression

 

WhereExpression VisitParameter(ParameterExpression expression)

 

Function VisitParameter(expression As ParameterExpression) As WhereExpression

Parameters:

  • expression:

VisitUnary  protected

 

method VisitUnary(expression: UnaryExpression): WhereExpression

 

WhereExpression VisitUnary(UnaryExpression expression)

 

Function VisitUnary(expression As UnaryExpression) As WhereExpression

Parameters:

  • expression:

 

Validate (WhereExpression, array of String, String): Int32

 

class method Validate(expression: WhereExpression; allowedFieldNames: array of String; out errors: String): Int32

 

static Int32 Validate(WhereExpression expression, String[] allowedFieldNames, out String errors)

 

Shared Function Validate(expression As WhereExpression, allowedFieldNames As array of String, <OutAttribute> ByRef errors As String) As Int32

Parameters:

  • expression:
  • allowedFieldNames:
  • errors:

 

constructor

 

constructor

 

WhereValidator()

 

Sub New

Validate (WhereExpression, array of String, String): Int32

 

method Validate(expression: WhereExpression; allowedFieldNames: array of String; out errors: String): Int32

 

Int32 Validate(WhereExpression expression, String[] allowedFieldNames, out String errors)

 

Function Validate(expression As WhereExpression, allowedFieldNames As array of String, <OutAttribute> ByRef errors As String) As Int32

Parameters:

  • expression:
  • allowedFieldNames:
  • errors:

Visit  protected    (declared in WhereVisitor)

 

method Visit(expression: WhereExpression): WhereExpression

 

WhereExpression Visit(WhereExpression expression)

 

Function Visit(expression As WhereExpression) As WhereExpression

Parameters:

  • expression:

VisitBetween  protected    (declared in WhereVisitor)

 

method VisitBetween(expression: BetweenExpression): WhereExpression

 

WhereExpression VisitBetween(BetweenExpression expression)

 

Function VisitBetween(expression As BetweenExpression) As WhereExpression

Parameters:

  • expression:

VisitBinary  protected    (declared in WhereVisitor)

 

method VisitBinary(expression: BinaryExpression): WhereExpression

 

WhereExpression VisitBinary(BinaryExpression expression)

 

Function VisitBinary(expression As BinaryExpression) As WhereExpression

Parameters:

  • expression:

VisitConstant  protected    (declared in WhereVisitor)

 

method VisitConstant(expression: ConstantExpression): WhereExpression

 

WhereExpression VisitConstant(ConstantExpression expression)

 

Function VisitConstant(expression As ConstantExpression) As WhereExpression

Parameters:

  • expression:

VisitField  protected

 

method VisitField(expression: FieldExpression): WhereExpression

 

WhereExpression VisitField(FieldExpression expression)

 

Function VisitField(expression As FieldExpression) As WhereExpression

Parameters:

  • expression:

VisitList  protected    (declared in WhereVisitor)

 

method VisitList(expression: ListExpression): WhereExpression

 

WhereExpression VisitList(ListExpression expression)

 

Function VisitList(expression As ListExpression) As WhereExpression

Parameters:

  • expression:

VisitMacro  protected    (declared in WhereVisitor)

 

method VisitMacro(expression: MacroExpression): WhereExpression

 

WhereExpression VisitMacro(MacroExpression expression)

 

Function VisitMacro(expression As MacroExpression) As WhereExpression

Parameters:

  • expression:

VisitNull  protected    (declared in WhereVisitor)

 

method VisitNull(expression: NullExpression): WhereExpression

 

WhereExpression VisitNull(NullExpression expression)

 

Function VisitNull(expression As NullExpression) As WhereExpression

Parameters:

  • expression:

VisitParameter  protected    (declared in WhereVisitor)

 

method VisitParameter(expression: ParameterExpression): WhereExpression

 

WhereExpression VisitParameter(ParameterExpression expression)

 

Function VisitParameter(expression As ParameterExpression) As WhereExpression

Parameters:

  • expression:

VisitUnary  protected

 

method VisitUnary(expression: UnaryExpression): WhereExpression

 

WhereExpression VisitUnary(UnaryExpression expression)

 

Function VisitUnary(expression As UnaryExpression) As WhereExpression

Parameters:

  • expression: