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.

[System.Runtime.CompilerServices.Nullable(0)]
public class CaseWhenClause
public class CaseWhenClause
[<System.Runtime.CompilerServices.Nullable(0)>]
type CaseWhenClause = class
type CaseWhenClause = class
Public Class CaseWhenClause
Inheritance
CaseWhenClause
Attributes

Constructors

Name Description
CaseWhenClause(SqlExpression, SqlExpression)

Creates a new instance of the CaseWhenClause class.

Properties

Name Description
Result

The value to return if Test succeeds.

Test

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

Methods

Name Description
Equals(Object)

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

GetHashCode()

Serves as the default hash function.

Applies to