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; }
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); }
public static ObjectList<ServiceTypeOld> FindByWithBenefitSrvTypeLink(BenefitServiceType benefitServiceType) { return Mappers.ServiceTypeOldMapper.FindByWithBenefitSrvTypeLink(benefitServiceType); }