Exemplo 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.Name           = dto.Name;
            data.FeeGroup       = new Fee.Group.Server(null).Convert(dto.FeeGroup) as FeeGroupComp.Data;
            data.FineDefination = new Fine.Definition.Server(null).Convert(dto.FineDefination) as FineDefComp.Data;
        }
Exemplo 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,
         Name = dt.Name,
         FeeGroup = new Fee.Group.Server(null).Convert(dt.FeeGroup) as Fee.Group.Dto,
         FineDefination = new Fine.Definition.Server(null).Convert(dt.FineDefination) as Fine.Definition.Dto,
         IsActive = dt.IsActive,
     });
 }
Exemplo n.º 3
0
Arquivo: Dao.cs Projeto: BinAff/School
 public Dao(Data data)
     : base(data)
 {
 }
Exemplo n.º 4
0
 public Validator(Data data)
     : base(data)
 {
 }