8 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple =
false, Inherited =
true)]
11 private readonly
int days;
12 private readonly
string propertyName;
31 this.propertyName =
null;
41 this.days =
int.MaxValue;
48 public int Days => this.days;
This attribute defines that objects of this type can be archived, and the time objects can be archive...
ArchivingTimeAttribute()
This attribute defines objects of this type can be archived, and that there is no time limit for how ...
ArchivingTimeAttribute(int Days)
This attribute defines that objects of this type can be archived, and that there is a time limit for ...
ArchivingTimeAttribute(string PropertyName)
This attribute defines that objects of this type can be archived, and that there is a time limit for ...
int Days
Number of days to archive objects of this type. If equal to int.MaxValue, no limit is defined.
string PropertyName
A property on the object with this name defines the number of days to archive the object....