共用方式為


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 運算式相關聯的 。

適用於