C# 클래스 Azavea.Open.DAO.Criteria.HandWrittenExpression

상속: AbstractExpression
파일 보기 프로젝트 열기: azavea/net-dao

공개 프로퍼티들

프로퍼티 타입 설명
Expression string
Parameters IEnumerable

공개 메소드들

메소드 설명
HandWrittenExpression ( string expression ) : System

Represents a hand-written custom expression. May be a chunk of SQL, or may be something else relevant to the underlying data access layer. This is both a very powerful and very dangerous expression; it allows you to construct complicated logic, but you can easily pass invalid input (that doesn't parse), sloppy input (hard coded table / column names), or even evil input (sql injection). MAKE SURE to sanitize any user input that makes its way into this expression!

HandWrittenExpression ( string expression, IEnumerable parameters ) : System

Represents a hand-written custom expression. May be a chunk of SQL, or may be something else relevant to the underlying data access layer. This is both a very powerful and very dangerous expression; it allows you to construct complicated logic, but you can easily pass invalid input (that doesn't parse), sloppy input (hard coded table / column names), or even evil input (sql injection). MAKE SURE to sanitize any user input that makes its way into this expression!

Invert ( ) : IExpression

Since handwritten expressions are completely custom, there is no automatic way to invert them. Therefore this is not supported.

ToString ( ) : string

메소드 상세

HandWrittenExpression() 공개 메소드

Represents a hand-written custom expression. May be a chunk of SQL, or may be something else relevant to the underlying data access layer. This is both a very powerful and very dangerous expression; it allows you to construct complicated logic, but you can easily pass invalid input (that doesn't parse), sloppy input (hard coded table / column names), or even evil input (sql injection). MAKE SURE to sanitize any user input that makes its way into this expression!
public HandWrittenExpression ( string expression ) : System
expression string The expression text. Can be almost anything, as long as it means /// something to the underlying Dao layer.
리턴 System

HandWrittenExpression() 공개 메소드

Represents a hand-written custom expression. May be a chunk of SQL, or may be something else relevant to the underlying data access layer. This is both a very powerful and very dangerous expression; it allows you to construct complicated logic, but you can easily pass invalid input (that doesn't parse), sloppy input (hard coded table / column names), or even evil input (sql injection). MAKE SURE to sanitize any user input that makes its way into this expression!
public HandWrittenExpression ( string expression, IEnumerable parameters ) : System
expression string The expression text. Can be almost anything, as long as it means /// something to the underlying Dao layer.
parameters IEnumerable Parameters for the expression, if any. /// If none, may be null or empty.
리턴 System

Invert() 공개 메소드

Since handwritten expressions are completely custom, there is no automatic way to invert them. Therefore this is not supported.
public Invert ( ) : IExpression
리턴 IExpression

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Expression 공개적으로 프로퍼티

The expression text. Can be almost anything, as long as it means something to the underlying Dao layer.
public string Expression
리턴 string

Parameters 공개적으로 프로퍼티

Parameters for the expression, if any. If none, may be null or empty.
public IEnumerable Parameters
리턴 IEnumerable