An Oracle-style DECODE function.
Namespace: NHibernate.SqlCommandAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public class DecodeCaseFragment : CaseFragment |
Visual Basic |
---|
Public Class DecodeCaseFragment _ Inherits CaseFragment |
Visual C++ |
---|
public ref class DecodeCaseFragment : public CaseFragment |
Examples
CopyC#
decode(pkvalue, key1, 1, key2, 2, ..., 0)
Inheritance Hierarchy
System..::..Object
NHibernate.SqlCommand..::..CaseFragment
NHibernate.SqlCommand..::..DecodeCaseFragment
NHibernate.SqlCommand..::..CaseFragment
NHibernate.SqlCommand..::..DecodeCaseFragment