更改项目目录
This commit is contained in:
@@ -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}构建完成!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user