Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 702 Bytes

File metadata and controls

24 lines (17 loc) · 702 Bytes

CaseAttribute constructor

namespace: Serenity.Data.Mapping   assemblySerenity.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

Exceptions

exception condition
ArgumentNullException One of expressions is null

See Also