An ANSI SQL CASE expression.
CopyC#
case when ... then ... end as ...

Namespace: NHibernate.SqlCommand
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public class ANSICaseFragment : CaseFragment
Visual Basic
Public Class ANSICaseFragment _
	Inherits CaseFragment
Visual C++
public ref class ANSICaseFragment : public CaseFragment

Remarks

This class looks StringHelper.SqlParameter safe...

Inheritance Hierarchy

System..::..Object
  NHibernate.SqlCommand..::..CaseFragment
    NHibernate.SqlCommand..::..ANSICaseFragment

See Also