SqlBinaryExpression 构造函数

定义

创建 SqlBinaryExpression 类的新实例。

public SqlBinaryExpression (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlBinaryExpression (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression : System.Linq.Expressions.ExpressionType * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
Public Sub New (operatorType As ExpressionType, left As SqlExpression, right As SqlExpression, type As Type, typeMapping As RelationalTypeMapping)

参数

operatorType
ExpressionType

要应用的运算符。

left
SqlExpression

左操作数的表达式。

right
SqlExpression

右操作数的表达式。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于