ExpressionAttribute class

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

Specifies SQL expression this property corresponds to. You may use brackets ([]) to escape identifiers. Brackets will be converted to database specific quotes.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class ExpressionAttribute : Attribute

Public Members

name description
ExpressionAttribute(…) Specifies SQL expression this property corresponds to.
Dialect { get; set; } Gets or sets the dialect.
Value { get; } Gets the value.

See Also