Elimnating repository pattern
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user