SqlUnaryExpression 构造函数

定义

创建 SqlUnaryExpression 类的新实例。

public SqlUnaryExpression (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlUnaryExpression (System.Linq.Expressions.ExpressionType operatorType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression : System.Linq.Expressions.ExpressionType * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression
Public Sub New (operatorType As ExpressionType, operand As SqlExpression, type As Type, typeMapping As RelationalTypeMapping)

参数

operatorType
ExpressionType

要应用的运算符。

operand
SqlExpression

对其应用运算符的表达式。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于