Пример #1
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.Address  = dto.Address;
            data.District = new District.Server(null).Convert(dto.District) as DistrictComp.Data;
            data.Pin      = dto.Pin;
            data.Landline = dto.Landline;
        }
Пример #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,
         Address = dt.Address,
         District = new District.Server(null).Convert(dt.District) as District.Dto,
         Pin = dt.Pin,
         Landline = dt.Landline,
     });
 }
Пример #3
0
 public Validator(Data data)
     : base(data)
 {
 }
Пример #4
0
 public Dao(Data data)
     : base(data)
 {
 }