Elimnating repository pattern

This commit is contained in:
2023-06-01 08:51:19 -05:00
parent 0d5eb3e801
commit d7c0f373f4
18 changed files with 11 additions and 364 deletions

View File

@@ -24,7 +24,7 @@ namespace Teams.DbContexts
if (!optionsBuilder.IsConfigured)
{
#warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.
optionsBuilder.UseNpgsql("Host=localhost;Database=mlb-game-day;Username=postgres;Password=postgres");
optionsBuilder.UseNpgsql("Host=localhost;Port=5450;Database=teams;Username=postgres;Password=postgres");
}
}