Partilhar via


ISqlExpressionFactory.MakeBinary Method

Definition

Overloads

MakeBinary(ExpressionType, SqlExpression, SqlExpression, RelationalTypeMapping)

Creates a new SqlBinaryExpression with the given arguments.

MakeBinary(ExpressionType, SqlExpression, SqlExpression, RelationalTypeMapping, SqlExpression)

Creates a new SqlExpression with the given arguments.

MakeBinary(ExpressionType, SqlExpression, SqlExpression, RelationalTypeMapping)

Source:
ISqlExpressionFactory.cs
Source:
ISqlExpressionFactory.cs

Creates a new SqlBinaryExpression with the given arguments.

public 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 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
Public Function MakeBinary (operatorType As ExpressionType, left As SqlExpression, right As SqlExpression, typeMapping As RelationalTypeMapping) As SqlBinaryExpression

Parameters

operatorType
ExpressionType

An ExpressionType representing SQL unary operator.

left
SqlExpression

The left operand of binary operation.

right
SqlExpression

The right operand of binary operation.

typeMapping
RelationalTypeMapping

A type mapping to be assigned to the created expression.

Returns

A SqlBinaryExpression with the given arguments.

Applies to

MakeBinary(ExpressionType, SqlExpression, SqlExpression, RelationalTypeMapping, SqlExpression)

Source:
ISqlExpressionFactory.cs

Creates a new SqlExpression with the given arguments.

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? MakeBinary (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? existingExpression = default);
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.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function MakeBinary (operatorType As ExpressionType, left As SqlExpression, right As SqlExpression, typeMapping As RelationalTypeMapping, Optional existingExpression As SqlExpression = Nothing) As SqlExpression

Parameters

operatorType
ExpressionType

An ExpressionType representing SQL unary operator.

left
SqlExpression

The left operand of binary operation.

right
SqlExpression

The right operand of binary operation.

typeMapping
RelationalTypeMapping

A type mapping to be assigned to the created expression.

existingExpression
SqlExpression

An optional expression that can be re-used if it matches the new expression.

Returns

A SqlExpression with the given arguments.

Applies to