mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-01-05 07:39:57 +01:00
Update README.md
This commit is contained in:
parent
a2ce77365a
commit
f6735f7a7d
|
|
@ -136,6 +136,11 @@ public class Northwind : DbContext
|
|||
"Initial Catalog=Northwind;" +
|
||||
"Integrated Security=true;" +
|
||||
"MultipleActiveResultSets=true;";
|
||||
|
||||
ConsoleColor previousColor = ForegroundColor;
|
||||
ForegroundColor = ConsoleColor.DarkYellow;
|
||||
WriteLine($"Connection: {connection}");
|
||||
ForegroundColor = previousColor;
|
||||
|
||||
optionsBuilder.UseSqlServer(connection);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue