namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
DatePart expression attribute
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class DatePartAttribute : BaseExpressionAttribute
name | description |
---|---|
DatePartAttribute(…) | Creates a new instance |
Expression { get; } | Date expression |
Part { get; } | Date part |
override Translate(…) |
- class BaseExpressionAttribute
- Source: DatePartAttribute.cs