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.FineType = new Type.Server(null).Convert(dto.FineType) as Comp.Type.Data; data.Definition = new Definition.Server(null).Convert(dto.Definition) as Comp.Definition.Data; data.SchoolStandard = new School.Facade.Standard.Server(null).Convert(dto.SchoolStandard) as School.Component.Standard.Data; }
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, //FineType = new Type.Server(null).Convert(dt.FineType) as Fine.Type.Dto, Definition = new Definition.Server(null).Convert(dt.Definition) as Fine.Definition.Dto, SchoolStandard = new School.Facade.Standard.Server(null).Convert(dt.SchoolStandard) as School.Facade.Standard.Dto, IsActive = dt.IsActive, }); }
public Dao(Data data) : base(data) { }
public Validator(Data data) : base(data) { }