Class ExpressionGenerator
Generates SQL from expression.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.MySql
Assembly: DevZest.Data.MySql.dll
Syntax
public sealed class ExpressionGenerator : DbExpressionVisitor
Properties
Name | Description |
---|---|
MySqlVersion | Gets the MySQL version. |
ParametersCount | Gets the number of parameters. |
SqlBuilder | Gets the string builder for T-SQL generation. |
Methods
Name | Description |
---|---|
GetDbParamExpression(Int32) | Gets the parameter expression at specified index. |
RegisterFunctionHandler(FunctionKey, Action<ExpressionGenerator, DbFunctionExpression>) | Registers handler to generate SQL for custom function. |
Visit(DbBinaryExpression) | |
Visit(DbCaseExpression) | |
Visit(DbCastExpression) | |
Visit(DbColumnExpression) | |
Visit(DbConstantExpression) | |
Visit(DbFunctionExpression) | |
Visit(DbParamExpression) | |
Visit(DbUnaryExpression) |