/// <remarks/> public void SaveOrgChangeAsync(b01 Org, b01Expansion OrgEx, object userState) { if ((this.SaveOrgChangeOperationCompleted == null)) { this.SaveOrgChangeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveOrgChangeOperationCompleted); } this.InvokeAsync("SaveOrgChange", new object[] { Org, OrgEx}, this.SaveOrgChangeOperationCompleted, userState); }
public void SchoolSave() { string orgcode = GetString("orgcode"); if (GetString("orgcode") != "") { passport.CQGJPassport cqgj = new CQGJ.passport.CQGJPassport(); b01 Org = new b01(); b01Expansion OrgExPansion = new b01Expansion(); string schoolname = GetString("schoolname"); Org.b0101 = schoolname; Org.b0111 = GetString("orgcode"); //Org.b0117 = GetString("address"); OrgExPansion.Tel = GetString("tel"); OrgExPansion.Mobile = GetString("mobile"); OrgExPansion.Mail = GetString("mail"); //3指代培训机构 OrgExPansion.OrgType = 3; cqgj.AddOrg(Org, OrgExPansion); //在Org表中添加代码 } RedirectToAction("SchoolList"); }
/// <remarks/> public void SaveOrgChangeAsync(b01 Org, b01Expansion OrgEx) { this.SaveOrgChangeAsync(Org, OrgEx, null); }
public bool SaveOrgChange(b01 Org, b01Expansion OrgEx) { object[] results = this.Invoke("SaveOrgChange", new object[] { Org, OrgEx}); return ((bool)(results[0])); }
/// <remarks/> public void AddOrgAsync(b01 org, b01Expansion orge, object userState) { if ((this.AddOrgOperationCompleted == null)) { this.AddOrgOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddOrgOperationCompleted); } this.InvokeAsync("AddOrg", new object[] { org, orge}, this.AddOrgOperationCompleted, userState); }
/// <remarks/> public void AddOrgAsync(b01 org, b01Expansion orge) { this.AddOrgAsync(org, orge, null); }
public bool AddOrg(b01 org, b01Expansion orge) { object[] results = this.Invoke("AddOrg", new object[] { org, orge}); return ((bool)(results[0])); }