Example #1
0
 public Rate(RateData data) : base(data)
 {
     Currency = new Currency(data?.Currency);
     RateType = new  RateType(data?.RateType);
 }
Example #2
0
 public static Rate Create(Currency c, decimal rate = 1M, DateTime?d = null, RateType t = null)
 {
     return(Create(c?.Data?.ID, rate, d, t?.Data?.ID));
 }