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