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

            Comp.Data data = base.ComponentData as Comp.Data;
            data.Amount         = dto.Amount;
            data.FeeGroup       = new Fac.Group.Server(null).Convert(dto.FeeGroup) as Comp.Group.Data;
            data.FeeDefination  = new Definition.Server(null).Convert(dto.FeeDefination) as Comp.Definition.Data;
            data.SchoolStandard = new SchFac.Standard.Server(null).Convert(dto.SchoolStandard) as SchComp.Standard.Data;
            data.Category       = new StuFac.Category.Server(null).Convert(dto.Category) as StuComp.Category.Data;
        }
Exemple #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,
         Amount = dt.Amount,
         FeeGroup = new Fac.Group.Server(null).Convert(dt.FeeGroup) as Group.Dto,
         FeeDefination = new Definition.Server(null).Convert(dt.FeeDefination) as Definition.Dto,
         SchoolStandard = new SchFac.Standard.Server(null).Convert(dt.SchoolStandard) as SchFac.Standard.Dto,
         Category = new StuFac.Category.Server(null).Convert(dt.Category) as StuFac.Category.Dto,
         IsActive = dt.IsActive,
     });
 }
Exemple #3
0
 public Dao(Data data)
     : base(data)
 {
 }
Exemple #4
0
 public Validator(Data data)
     : base(data)
 {
 }