Esempio n. 1
0
        private Pasta GetPastaGeral()
        {
            var pasta = new Pasta("GERAL");

            pasta.AddArquivo(new ArquivoBaseDAL());
            pasta.AddArquivo(new ArquivoNotMappeableBDAttribute());
            pasta.AddArquivo(new ArquivoSQLCommands());
            return(pasta);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        private Pasta GetPastaInterface()
        {
            var pasta = new Pasta("INTERFACE");

            pasta.AddArquivo(new ArquivoIStrConexao());
            return(pasta);
        }
Esempio n. 4
0
        private Pasta GetPastaDelegates()
        {
            var pasta = new Pasta("DELEGATES");

            pasta.AddArquivo(new ArquivoDelegates());
            return(pasta);
        }
Esempio n. 5
0
        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);
        }
Esempio n. 6
0
        private Pasta GetPastaProjeto(Solucao solucao)
        {
            var pasta = new Pasta(this.NomeProjeto);

            pasta.AddArquivo(new ArquivoVbProj(this));
            return(pasta);
        }
Esempio n. 7
0
        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);
        }
Esempio n. 8
0
        private Pasta GetPastaTabelas(Solucao solucao)
        {
            var pasta = new Pasta("Tabelas");

            foreach (var entidade in solucao.Entidades)
            {
                pasta.AddArquivo(new ArquivoTabela(entidade));
            }

            return(pasta);
        }