更改项目目录

This commit is contained in:
橙子
2023-01-24 21:02:39 +08:00
parent ec440f13b1
commit 80723496d0
21 changed files with 231 additions and 28 deletions

View File

@@ -7,9 +7,9 @@ TemplateFactory templateFactory = new();
//选择需要生成的模板提供者
string modelName = "School";
string modelName = "Forum";
string nameSpaces = "Yi.BBS";
List<string> entityNames = new() { "Student" };
List<string> entityNames = new() { "Plate" };
foreach (var entityName in entityNames)
{
@@ -29,7 +29,7 @@ foreach (var entityName in entityNames)
//option.Add(new ApiTemplateProvider(modelName, entityName));
});
//开始构建模板
//templateFactory.BuildTemplate();
templateFactory.BuildTemplate();
Console.WriteLine($"Yi.Framework.Template:{entityName}构建完成!");
}