Share via


CaseWhenClause(SqlExpression, SqlExpression) Constructor

Definition

Creates a new instance of the CaseWhenClause class.

public CaseWhenClause (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression test, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression result);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause
Public Sub New (test As SqlExpression, result As SqlExpression)

Parameters

test
SqlExpression

A value to compare with Operand or condition to evaluate.

result
SqlExpression

A value to return if test succeeds.

Applies to