다음을 통해 공유


SqlExpressionFactory.MakeUnary 메서드

정의

지정된 인수를 사용하여 새 SqlUnaryExpression 를 만듭니다.

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

매개 변수

operatorType
ExpressionType

ExpressionType SQL 단항 연산자를 나타내는 입니다.

operand
SqlExpression

SqlExpression 단항 연산자를 적용할 입니다.

type
Type

만든 식의 형식입니다.

typeMapping
RelationalTypeMapping

만든 식에 할당할 형식 매핑입니다.

반환

SqlUnaryExpression 지정된 인수가 있는 입니다.

구현

적용 대상