SqlExpressionFactory.MakeBinary 方法

定义

使用给定参数创建一个新的 SqlBinaryExpression

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression MakeBinary (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression? MakeBinary (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
abstract member MakeBinary : System.Linq.Expressions.ExpressionType * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
override this.MakeBinary : System.Linq.Expressions.ExpressionType * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
Public Overridable Function MakeBinary (operatorType As ExpressionType, left As SqlExpression, right As SqlExpression, typeMapping As RelationalTypeMapping) As SqlBinaryExpression

参数

operatorType
ExpressionType

一个 ExpressionType 表示 SQL 一元运算符的 。

left
SqlExpression

二进制运算的左操作数。

right
SqlExpression

二进制运算的右操作数。

typeMapping
RelationalTypeMapping

要分配给所创建表达式的类型映射。

返回

SqlBinaryExpression具有给定参数的 。

实现

适用于