Class SqlExpression
Expression, which represent sql query.
Inheritance
System.Object
System.Linq.Expressions.Expression
SqlExpression
Inherited Members
Namespace: Kros.KORM.Query.Expressions
Assembly: Kros.KORM.dll
Syntax
public class SqlExpression : ArgsExpression
Constructors
SqlExpression(RawSqlString, Object[])
Initializes a new instance of the SqlExpression class.
Declaration
public SqlExpression(RawSqlString sqlQuery, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
RawSqlString | sqlQuery | The SQL query. |
System.Object[] | args | Where args. |
Methods
Accept(ExpressionVisitor)
Dispatches to the specific visit method for this node type. For example, System.Linq.Expressions.MethodCallExpression calls the System.Linq.Expressions.ExpressionVisitor.VisitMethodCall(System.Linq.Expressions.MethodCallExpression).
Declaration
protected override Expression Accept(ExpressionVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.ExpressionVisitor | visitor | The visitor to visit this node with. |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | The result of visiting this node. |
Overrides
System.Linq.Expressions.Expression.Accept(System.Linq.Expressions.ExpressionVisitor)