Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
        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");
        }
Exemplo n.º 3
0
 /// <remarks/>
 public void SaveOrgChangeAsync(b01 Org, b01Expansion OrgEx) {
     this.SaveOrgChangeAsync(Org, OrgEx, null);
 }
Exemplo n.º 4
0
 public bool SaveOrgChange(b01 Org, b01Expansion OrgEx) {
     object[] results = this.Invoke("SaveOrgChange", new object[] {
                 Org,
                 OrgEx});
     return ((bool)(results[0]));
 }
Exemplo n.º 5
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);
 }
Exemplo n.º 6
0
 /// <remarks/>
 public void AddOrgAsync(b01 org, b01Expansion orge) {
     this.AddOrgAsync(org, orge, null);
 }
Exemplo n.º 7
0
 public bool AddOrg(b01 org, b01Expansion orge) {
     object[] results = this.Invoke("AddOrg", new object[] {
                 org,
                 orge});
     return ((bool)(results[0]));
 }