Beispiel #1
0
        private static void MakeUnitOfWork()
        {
            var ConfigTable = new TableToClass();
            var BuildClass = new Data();
            var GroupTables = ConfigTable.GetTableMapper();

            WriteToConsole(" ");
            WriteToConsole("Gerando UnitOfWork...");

            WriteToConsole("-> " + BuildClass.BuildUnitOfWork(GroupTables));
            if (VERIFY_TIME) { TimeSleep(MILLISECONDS); }
        }
Beispiel #2
0
        private static void MakeMappers()
        {
            var ConfigTable = new TableToClass();
            var BuildClass = new Data();
            var GroupTables = ConfigTable.GetTableMapper();

            WriteToConsole(" ");
            WriteToConsole("Gerando Mappers...");

            foreach (var Table in GroupTables)
            {
                WriteToConsole("-> " + BuildClass.BuildMapper(Table));
                if (VERIFY_TIME) { TimeSleep(MILLISECONDS); }
            }
        }
Beispiel #3
0
        private static void MakeIRepository()
        {
            var BuildClass = new Data();

            WriteToConsole(" ");
            WriteToConsole("Gerando IRepositorio...");

            WriteToConsole("-> " + BuildClass.BuildIRespository());
            if (VERIFY_TIME) { TimeSleep(MILLISECONDS); }
        }
Beispiel #4
0
        private static void MakeBase()
        {
            var BuildClass = new Data();

            WriteToConsole(" ");
            WriteToConsole("Gerando BaseModel...");
            WriteToConsole("-> " + BuildClass.BuildBase());

            if (VERIFY_TIME) { TimeSleep(MILLISECONDS); }
        }