namespace: Serenity.Data.Mapping assembly: Serenity.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
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(…) |
- class BaseExpressionAttribute
- Source: ExpressionAttribute.cs