Share via


CaseWhenClause Class

Definition

An object that represents a WHEN...THEN... construct in a SQL tree.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class CaseWhenClause
type CaseWhenClause = class
Public Class CaseWhenClause
Inheritance
CaseWhenClause

Constructors

CaseWhenClause(SqlExpression, SqlExpression)

Creates a new instance of the CaseWhenClause class.

Properties

Result

The value to return if Test succeeds.

Test

The value to compare with Operand or the condition to evaluate.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Applies to