Class ExpressionGenerator
Generates T-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.SqlServer
Assembly: DevZest.Data.SqlServer.dll
Syntax
public sealed class ExpressionGenerator : DbExpressionVisitor
Properties
Name | Description |
---|---|
ParametersCount | Gets the number of parameters. |
SqlBuilder | Gets the string builder for T-SQL generation. |
SqlVersion | Gets the SQL Server version. |
Methods
Name | Description |
---|---|
GetDbParamExpression(Int32) | Gets the parameter expression at specified index. |
RegisterFunctionHandler(FunctionKey, Action<ExpressionGenerator, DbFunctionExpression>) | Registers handler to generate T-SQL for custom function. |
Visit(DbBinaryExpression) | |
Visit(DbCaseExpression) | |
Visit(DbCastExpression) | |
Visit(DbColumnExpression) | |
Visit(DbConstantExpression) | |
Visit(DbFunctionExpression) | |
Visit(DbParamExpression) | |
Visit(DbUnaryExpression) |