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 : BaseExpressionAttribute

Public Members

name description
ExpressionAttribute(…) Specifies SQL expression this property corresponds to. (2 constructors)
Dialect { get; set; } Gets or sets the dialect.
NegateDialect { get; set; } Gets or sets the negating of the dialect.
Value { get; } Gets the expression
override Translate(…)

See Also