abp vnext 使用之 EF 配置
通常,如果要启用ef 的logs 中加上SQL的参数值,需要在 AddDbContext<TDbContext> 中使用 options.EnableSensitiveDataLogging(true) 。 但是在ABP中,已经不需要显示调用AddDbContext了,这个配置要在这个位置添加。 Read more
Categories:
.net
Happy coding everyday~~
通常,如果要启用ef 的logs 中加上SQL的参数值,需要在 AddDbContext<TDbContext> 中使用 options.EnableSensitiveDataLogging(true) 。 但是在ABP中,已经不需要显示调用AddDbContext了,这个配置要在这个位置添加。 Read more
asp.net core 随笔 Read more