public frmEditCompanyType(CompanyType companyType) : this() { CompanyType = companyType; }
private void SaveData() { if (CompanyType == null) CompanyType = new CompanyType(); GetEntity(CompanyType); InvokeUtil.SystemService.EntityUpdate(CompanyType); }
/// <summary> /// 获取所有企业类型数据 /// </summary> /// <returns>企业类型集合</returns> public List<CompanyType> CompanyTypeGetFastAll() { try { CompanyType Obj = new CompanyType(); Obj.SystemService = this; return Obj.CompanyTypeGetFastAll(); } catch (Exception ex) { throw ex; } }