EFCORE 数据迁移时出现如下警告
Microsoft.EntityFrameworkCore.Model.Validation[10400]
解决办法:
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {
optionsBuilder.EnableSensitiveDataLogging(false); }