Class Rate
Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
Syntax
[DataContract]
public class Rate : BaseEntity, IRate, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IRate>
Constructors
Rate()
Declaration
Properties
EffectiveDate
[Key] The date the rate is effective from
Declaration
public DateTimeOffset? EffectiveDate { get; set; }
Property Value
RateTypeID
[Key] Links to IRateType. The type this rate is under.
Declaration
public Guid RateTypeID { get; set; }
Property Value
RateTypeID_Label
Declaration
public string RateTypeID_Label { get; set; }
Property Value
RateTypeID_Label_Silent
Declaration
[NotMapped]
public string RateTypeID_Label_Silent { get; set; }
Property Value
RateValue
The rate value from this effective date
Declaration
[Required]
public decimal RateValue { get; set; }
Property Value
The globally unique id of the entity (of type ItemTypeID) that is related within this grouping
Declaration
public Guid? RelatedItemID { get; set; }
Property Value
Declaration
public string RelatedItemID_Label { get; set; }
Property Value
Declaration
[NotMapped]
public string RelatedItemID_Label_Silent { get; set; }
Property Value
Declaration
public Guid? RelatedItemTypeID { get; set; }
Property Value
UpToStartDays
[Key] The date this rate is effective from the start date up to this many years/months/days
Declaration
public short? UpToStartDays { get; set; }
Property Value
UpToStartMonths
[Key] The date this rate is effective from the start date up to this many years/months/days
Declaration
public short? UpToStartMonths { get; set; }
Property Value
UpToStartYears
[Key] The date this rate is effective from the start date up to this many years/months/days
Declaration
public short? UpToStartYears { get; set; }
Property Value
UpToValue
[Key] The amount this rate is effective from up to the specified amount
Declaration
public decimal? UpToValue { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IRate)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IRate source)
Parameters
Type |
Name |
Description |
IRate |
source |
The source object to copy all values from.
|
Implements
Extension Methods