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

            Comp.Data data = base.ComponentData as Comp.Data;
            base.ComponentData.Id = data.Id;
            dto.Standard          = new Standard.Server(null).Convert(data.Standard) as Standard.Dto;
            dto.Section           = new Section.Server(null).Convert(data.Section) as Section.Dto;
        }
Exemple #2
0
        public override void AssignData()
        {
            Dto dto = (base.FormDto as FormDto).Dto as Dto;

            Comp.Data data = base.ComponentData as Comp.Data;
            data.Id       = dto.Id;
            data.Standard = new Standard.Server(null).Convert(dto.Standard) as Sparkle.School.Component.Standard.Data;
            data.Section  = new Section.Server(null).Convert(dto.Section) as Sparkle.School.Component.Section.Data;
        }
Exemple #3
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,
         Standard = new Standard.Server(null).Convert(dt.Standard) as Standard.Dto,
         Section = new Section.Server(null).Convert(dt.Section) as Section.Dto,
     });
 }
Exemple #4
0
 public Dao(Data data)
     : base(data)
 {
 }
Exemple #5
0
 public Validator(Data data)
     : base(data)
 {
 }