共用方式為


CaseWhenClause(Expression, Expression) 建構函式

定義

初始化 CaseWhenClause 類別的新執行個體。

public CaseWhenClause(System.Linq.Expressions.Expression test, System.Linq.Expressions.Expression result);
new Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause
Public Sub New (test As Expression, result As Expression)

參數

test
Expression

運算元運算式的 。

result
Expression

結果運算式。

適用於