Property | Type | Description | |
---|---|---|---|
Expression | string | ||
Parameters | IEnumerable |
Method | Description | |
---|---|---|
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 |
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. |
return | System |
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. |
return | System |