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