Get() 공개 정적인 메소드

public static Get ( string uri ) : DBService
uri string
리턴 DBService
예제 #1
0
        public void Save()
        {
            //有错误,不保存
            _errors.ToString();
            this._errors.ToString();

            //如果页面有错误内容,不能保存,提示错误.
            if (this.HasErrors)
            {
                string msg = "";
                foreach (KeyValuePair <string, string> kv in _errors)
                {
                    msg += "key=" + kv.Key + ", value=" + kv.Value + "\n";
                }
                MessageBox.Show(msg);
                return;
            }

            DBService.Get(WebClientInfo.BaseAddress).Invoke(this, SaveToJson);
        }
예제 #2
0
 public void SaveModified()
 {
     DBService.Get(WebClientInfo.BaseAddress).Invoke(this, SaveModifiedToJson);
 }
예제 #3
0
 public void Delete()
 {
     DBService.Get(WebClientInfo.BaseAddress).Invoke(this, DeleteToJson);
 }