namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Creates a new instance
public CaseAttribute(object when1, object then1, params object[] restOrElse)
parameter | description |
---|---|
when1 | When expression 1 |
then1 | When expression 2 |
restOrElse | Additional when then pairs, followed by an optional ELSE statement. Else assumed only if the number of elements is odd |
exception | condition |
---|---|
ArgumentNullException | One of expressions is null |
- class CaseAttribute