예제 #1
0
파일: Server.cs 프로젝트: windygu/School
        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;
        }
예제 #2
0
파일: Server.cs 프로젝트: windygu/School
 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,
     });
 }
예제 #3
0
파일: Dao.cs 프로젝트: BinAff/School
 public Dao(Data data)
     : base(data)
 {
 }
예제 #4
0
파일: Validator.cs 프로젝트: BinAff/School
 public Validator(Data data)
     : base(data)
 {
 }