Example #1
0
        private static void GenerateModels()
        {
            List <string> tables = ObtainTableNames();

            foreach (string table in tables)
            {
                List <Column> info = ObtainTableInfo(table);
                FileCreator.CreateModel("Crowd50_DataAccess.Models", table, info);
            }
        }
Example #2
0
        private static void GenerateLayers()
        {
            List <string> tables = ObtainTableNames();

            foreach (string table in tables)
            {
                List <Column> properties = ObtainTableInfo(table);
                FileCreator.CreateLayer("Crowd50_DataAccess", "DataAccess", table, properties);
            }
        }