无论如何我可以使用Entity Framework Model First更改T4生成的文件的命名
我试图将输出扩展名更改为此:
<#@ output extension=".Generated.cs"#>
将 Model1.cs 文件的名称更改为 Mode1.Generated.cs 但我所有的实体仍位于名为 category.cs、Issue.cs 等的文件中。我想要的是实体类仍需命名:
Category
Issue
..
但包含文件遵循命名模式:
Category.Generated.cs
Issue.Generated.cs
...