private Pasta GetPastaGeral() { var pasta = new Pasta("GERAL"); pasta.AddArquivo(new ArquivoBaseDAL()); pasta.AddArquivo(new ArquivoNotMappeableBDAttribute()); pasta.AddArquivo(new ArquivoSQLCommands()); return(pasta); }
private Pasta GetPastaProceduresEntidade(EntidadeGerada entidade) { var pasta = new Pasta(entidade.Nome); pasta.AddArquivo(new ArquivoProcedureList(entidade)); pasta.AddArquivo(new ArquivoProcedureSelect(entidade)); pasta.AddArquivo(new ArquivoProcedureInsert(entidade)); pasta.AddArquivo(new ArquivoProcedureUpdate(entidade)); pasta.AddArquivo(new ArquivoProcedureDelete(entidade)); return(pasta); }
private Pasta GetPastaInterface() { var pasta = new Pasta("INTERFACE"); pasta.AddArquivo(new ArquivoIStrConexao()); return(pasta); }
private Pasta GetPastaDelegates() { var pasta = new Pasta("DELEGATES"); pasta.AddArquivo(new ArquivoDelegates()); return(pasta); }
private Pasta GetPastaProjeto(Solucao solucao) { var pasta = new Pasta(this.NomeProjeto); pasta.AddSubPasta(this.GetPastaDelegates()); pasta.AddSubPasta(this.GetPastaGeral()); pasta.AddSubPasta(this.GetPastaInterface()); foreach (var entidade in solucao.Entidades) { pasta.AddArquivo(new ArquivoEntidade(entidade)); } pasta.AddArquivo(new ArquivoVbProj(this)); return(pasta); }
private Pasta GetPastaProjeto(Solucao solucao) { var pasta = new Pasta(this.NomeProjeto); pasta.AddArquivo(new ArquivoVbProj(this)); return(pasta); }
private Pasta GetPastaProjeto(Solucao solucao) { var pasta = new Pasta(this.NomeProjeto); pasta.AddSubPasta(this.GetPastaTabelas(solucao)); pasta.AddSubPasta(this.GetPastaProcedure(solucao)); pasta.AddArquivo(new ArquivoSqlProj(this)); return(pasta); }
private Pasta GetPastaTabelas(Solucao solucao) { var pasta = new Pasta("Tabelas"); foreach (var entidade in solucao.Entidades) { pasta.AddArquivo(new ArquivoTabela(entidade)); } return(pasta); }