Condividi tramite


ISqlExpressionFactory.MakeUnary Metodo

Definizione

Crea un nuovo SqlUnaryExpression oggetto con gli argomenti specificati.

public 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 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
Public Function MakeUnary (operatorType As ExpressionType, operand As SqlExpression, type As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlUnaryExpression

Parametri

operatorType
ExpressionType

Oggetto ExpressionType che rappresenta un operatore sql unary.

operand
SqlExpression

Oggetto SqlExpression per applicare un operatore unario su.

type
Type

Tipo dell'espressione creata.

typeMapping
RelationalTypeMapping

Mapping dei tipi da assegnare all'espressione creata.

Restituisce

Oggetto SqlUnaryExpression con gli argomenti specificati.

Si applica a