public string GetCompanies(out Company[] companies) { object[] results = this.Invoke("GetCompanies", new object[0]); companies = ((Company[])(results[1])); return ((string)(results[0])); }
public string GetCompany(string companyName, out Company company) { object[] results = this.Invoke("GetCompany", new object[] { companyName}); company = ((Company)(results[1])); return ((string)(results[0])); }
/// <remarks/> public void UpdateCompanyAsync(Company company, object userState) { if ((this.UpdateCompanyOperationCompleted == null)) { this.UpdateCompanyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateCompanyOperationCompleted); } this.InvokeAsync("UpdateCompany", new object[] { company}, this.UpdateCompanyOperationCompleted, userState); }
/// <remarks/> public void UpdateCompanyAsync(Company company) { this.UpdateCompanyAsync(company, null); }
public string UpdateCompany(Company company) { object[] results = this.Invoke("UpdateCompany", new object[] { company}); return ((string)(results[0])); }
/// <remarks/> public void CreateCompanyAsync(Company company) { this.CreateCompanyAsync(company, null); }
public string CreateCompany(Company company, out string companyId) { object[] results = this.Invoke("CreateCompany", new object[] { company}); companyId = ((string)(results[1])); return ((string)(results[0])); }