t4 模板文件 第一步,在项目中设置 t4 模板文件。 不知道 T4 模板的,可以自行查阅资料或查看 https://learn.microsoft.com/zh-cn/visualstudio/modeling/code-generation-and-t4-text-templates?view[......] 继续阅读
t4 模板文件 第一步,在项目中设置 t4 模板文件。 不知道 T4 模板的,可以自行查阅资料或查看 https://learn.microsoft.com/zh-cn/visualstudio/modeling/code-generation-and-t4-text-templates?view[......] 继续阅读
T4 Template Files The first step is to set up T4 template files in the project. If you are unfamiliar with T4 templates, you can look up information[......] 继续阅读
图片转换需要安装:https://ghostscript.com/ 引入: <ItemGroup> <PackageReference Include="Magick.NET-Q16-AnyCPU" Version="13.4.0" />[......]继续阅读
图片转换需要安装:https://ghostscript.com/ 引入: <ItemGroup> <PackageReference Include="Magick.NET-Q16-AnyCPU" Version="13.4.0"[......]继续阅读
在.NET Core 项目钟(类库),使用Entity Framework,建立模型生成数据库时,失败 Could not load assembly 'xxx'. Ensure it is referenced by the startup project 'xxx'. 改成 64 位即可 假[......] 继续阅读
In a .NET Core project (library), using Entity Framework, the database generation fails when establishing the model. Could not load assembly 'xxx'. E[......]继续阅读
https://docs.microsoft.com/zh-cn/ef/core/miscellaneous/configuring-dbcontext 有两种配置方式,一种是 Dbcontext 构造函数和依赖注入同时使用。 public void ConfigureServices(IServi[......] 继续阅读
有两种配置方式,一种是 DbContext 构造函数和依赖注入同时使用。 public void ConfigureServices(IServiceCollection services) 另一种是在 OnConfiguring 内配置使用。 [......] 继续阅读