C# 클래스 Remotion.Linq.SqlBackend.SqlGeneration.SqlCustomTextExpression

SqlCustomTextExpression can be used to insert custom SQL text into the SQL generated by SqlGeneratingExpressionVisitor. The custom text is inserted into the statement as is, it is not escaped. Therefore, the provider making use of SqlCustomTextExpression has to make sure the custom text cannot lead to SQL injection attacks.
상속: SqlCustomTextGeneratorExpressionBase
파일 보기 프로젝트 열기: re-motion/Relinq-SqlBackend 1 사용 예제들

공개 메소드들

메소드 설명
Generate ( ISqlCommandBuilder commandBuilder, System.Linq.Expressions.ExpressionTreeVisitor textGeneratingExpressionVisitor, ISqlGenerationStage stage ) : void
SqlCustomTextExpression ( string sqlText, Type expressionType ) : System
ToString ( ) : string

보호된 메소드들

메소드 설명
VisitChildren ( System.Linq.Expressions.ExpressionTreeVisitor visitor ) : Expression

메소드 상세

Generate() 공개 메소드

public Generate ( ISqlCommandBuilder commandBuilder, System.Linq.Expressions.ExpressionTreeVisitor textGeneratingExpressionVisitor, ISqlGenerationStage stage ) : void
commandBuilder ISqlCommandBuilder
textGeneratingExpressionVisitor System.Linq.Expressions.ExpressionTreeVisitor
stage ISqlGenerationStage
리턴 void

SqlCustomTextExpression() 공개 메소드

public SqlCustomTextExpression ( string sqlText, Type expressionType ) : System
sqlText string
expressionType System.Type
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

VisitChildren() 보호된 메소드

protected VisitChildren ( System.Linq.Expressions.ExpressionTreeVisitor visitor ) : Expression
visitor System.Linq.Expressions.ExpressionTreeVisitor
리턴 System.Linq.Expressions.Expression