CaseAttribute class

namespace: Serenity.Data.Mapping   assemblySerenity.Net.Data

Concat expression attribute

[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class CaseAttribute : BaseExpressionAttribute

Public Members

name description
CaseAttribute(…) Creates a new instance
Else { get; set; } Gets the else expression
Switch { get; set; } Gets the switch expression
Then { get; } Gets the then expressions
When { get; } Gets the when expressions
override Translate(…)

See Also