示例#1
0
文件: Server.cs 项目: windygu/School
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Name = dt.Name,
                IsActive = dt.IsActive,
            });
        }
示例#2
0
 protected override void AssignFormControls()
 {
     Fac.Dto dto = base.FormDto.Dto as Fac.Dto;
     this.txtName.Text = dto.Name;
 }
示例#3
0
 protected override void AssignDto()
 {
     Fac.Dto dto = base.FormDto.Dto as Fac.Dto;
     dto.Name = this.txtName.Text;
 }