Azavea.Open.DAO.Criteria.HandWrittenExpression.HandWrittenExpression C# (CSharp) Method

HandWrittenExpression() public method

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.
return System
        public HandWrittenExpression(string expression)
            : this(expression, null)
        {
        }

Same methods

HandWrittenExpression::HandWrittenExpression ( string expression, IEnumerable parameters ) : System