Inheritance: EntityBase
Exemple #1
0
        public Rate AddRate(RateType type)
        {
            Rate rate = Rate.Create(type);

            Rates.Add(rate);

            return(rate);
        }
Exemple #2
0
 internal static Rate Create(RateType type)
 {
     return new Rate {Id = CombGuid.NewGuid(), RateTypeId = type.Id};
 }
Exemple #3
0
 internal static Rate Create(RateType type)
 {
     return(new Rate {
         Id = CombGuid.NewGuid(), RateTypeId = type.Id
     });
 }
        public Rate AddRate(RateType type)
        {
            Rate rate = Rate.Create(type);
            Rates.Add(rate);

            return rate;
        }