public Rate(RateData data) : base(data) { Currency = new Currency(data?.Currency); RateType = new RateType(data?.RateType); }
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)); }