/// <summary> /// /// </summary> /// <returns></returns> public DataSet CarregarDataSet() { DataSet bancoDados = new DataSet("AeB"); try { // Carregando a tabela FormaPagamento FormaPagamento formaPagamento = new FormaPagamento(usuarioID); DataTable formaPagamentoTabela = formaPagamento.Todas(); formaPagamentoTabela.TableName = "FormaPagamentoTabela"; bancoDados.Tables.Add(formaPagamentoTabela); // Carregando a tabela Garcon DataTable garconTabela = empresa.Garcons(true); garconTabela.TableName = "GarconTabela"; bancoDados.Tables.Add(garconTabela); }catch { bancoDados = null; } return(bancoDados); } // fim de CarregarDataSet