//根据基本地址,获取一个数据库服务对象 public static DBService Get(string uri) { if (!services.ContainsKey(uri)) { services[uri] = new DBService() { Uri = uri }; } return services[uri]; }
public void SaveModified() { DBService.Get(WebClientInfo.BaseAddress).Invoke(this, SaveModifiedToJson); }
public void Delete() { DBService.Get(WebClientInfo.BaseAddress).Invoke(this, DeleteToJson); }