Esempio 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.Id      = dto.Id;
            data.Name    = dto.Name;
            data.Country = new Country.Server(null).Convert(dto.Country) as CountryComp.Data;
        }
Esempio 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,
         Country = new Country.Server(null).Convert(dt.Country) as Country.Dto,
     });
 }
Esempio n. 3
0
File: Dao.cs Progetto: BinAff/School
 public Dao(Data data)
     : base(data)
 {
 }
Esempio n. 4
0
 public Validator(Data data)
     : base(data)
 {
 }