Esempio n. 1
0
        public override void AssignData()
        {
            Dto dto = (base.FormDto as FormDto).Dto as Dto;

            Comp.Data data = base.ComponentData as Comp.Data;
            data.Date        = dto.Date;
            data.Installment = dto.Installment;
            data.FeeAmount   = dto.FeeAmount;
            data.FineAmount  = dto.FineAmount;
            data.TotalAmount = dto.TotalAmount;
            data.AmountPaid  = dto.AmountPaid;
        }
Esempio n. 2
0
 public override BinAff.Facade.Library.Dto Convert(BinAff.Core.Data data)
 {
     Comp.Data dt = data as Comp.Data;
     return(new Dto
     {
         Id = dt.Id,
         Date = dt.Date,
         Installment = dt.Installment,
         FeeAmount = dt.FeeAmount,
         FineAmount = dt.FineAmount,
         TotalAmount = dt.TotalAmount,
         AmountPaid = dt.AmountPaid,
     });
 }
Esempio n. 3
0
File: Dao.cs Progetto: BinAff/School
 public Dao(Data data)
     : base(data)
 {
 }
Esempio n. 4
0
 public Validator(Data data)
     : base(data)
 {
 }