Skip to content

Commit

Permalink
🎈 重复的注释~
Browse files Browse the repository at this point in the history
  • Loading branch information
zgcwkj committed Oct 25, 2022
1 parent b96b846 commit e4b6308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zgcwkj.Util/Data/DataBase/DbCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
//PostgreSql
else if (dbType == DbType.PostgreSql)
{
//PostgreSql 时间兼容
//时间兼容
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true);
//
Expand Down

0 comments on commit e4b6308

Please sign in to comment.