使用 Aspire 启动分布式微服务
This commit is contained in:
1 parent
81d8f1b3f9
commit
b9a6d002ca
7 files changed
+66
-14
No files matched your search
@@ -15,9 +15,6 @@ namespace HelloShop.IdentityService.Infrastructure
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
modelBuilder.ApplyConfigurationsFromAssembly(Assembly.GetExecutingAssembly());
|
||||
|
||||
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
|
||||
AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user