Exemplo n.º 1
0
 public AddBenefitServiceTypeForm(Organization organization)
     : this()
 {
     this.set_Text("Добавление групп льготных услуг");
     this.tbxOrganization.set_Text(organization.ShortName);
     this.bst = new BenefitServiceType();
     this.bst.Id = -1L;
     this.bst.OrgId = organization.Id;
 }
Exemplo n.º 2
0
 public AddBenefitServiceTypeForm(BenefitServiceType benefitServiceType)
     : this()
 {
     this.set_Text("Изменение групп льготных услуг");
     this.bst = benefitServiceType;
     this.tbxOrganization.set_Text(this.bst.Org.ShortName);
     this.tbxCode.set_Text(((long) this.bst.Code).ToString());
     this.tbxShortName.set_Text(this.bst.ShortName);
     this.tbxLongName.set_Text(this.bst.LongName);
 }
Exemplo n.º 3
0
 public static ObjectList<ServiceTypeOld> FindByWithBenefitSrvTypeLink(BenefitServiceType benefitServiceType)
 {
     return Mappers.ServiceTypeOldMapper.FindByWithBenefitSrvTypeLink(benefitServiceType);
 }