public DataTable GetDataCount(string where) { DataTable result = new DataTable(); ICbmxbService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { result = service.GetDataCount(where); }); return(result); }