SqlExpressionFactory.MakeUnary Método

Definición

Crea un objeto con SqlUnaryExpression los argumentos especificados.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression MakeUnary (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression? MakeUnary (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member MakeUnary : System.Linq.Expressions.ExpressionType * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression
override this.MakeUnary : System.Linq.Expressions.ExpressionType * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression
Public Overridable Function MakeUnary (operatorType As ExpressionType, operand As SqlExpression, type As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlUnaryExpression

Parámetros

operatorType
ExpressionType

Que ExpressionType representa un operador unario de SQL.

operand
SqlExpression

que SqlExpression se va a aplicar un operador unario activado.

type
Type

Tipo de la expresión creada.

typeMapping
RelationalTypeMapping

Asignación de tipos que se asignará a la expresión creada.

Devoluciones

con SqlUnaryExpression los argumentos especificados.

Implementaciones

Se aplica a