This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using (var scope = app.Services.CreateScope()) { | |
var services = scope.ServiceProvider; | |
var context = services.GetRequiredService<HealthContext>(); | |
context.Database.Migrate(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -iname "bin" -o -iname "obj" | xargs rm -rf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GameId | Year | Gender | City | Country | Continent | Winner | |
---|---|---|---|---|---|---|---|
1 | 1930 | Men | Montevideo | Uruguay | South America | Uruguay | |
2 | 1934 | Men | Rome | Italy | Europe | Italy | |
3 | 1938 | Men | Paris | France | Europe | Italy | |
4 | 1950 | Men | Rio de Janeiro | Brazil | South America | Uruguay | |
5 | 1954 | Men | Bern | Switzerland | Europe | West Germany | |
6 | 1958 | Men | Stockholm | Sweden | Europe | Brazil | |
7 | 1962 | Men | Santiago | Chile | South America | Brazil | |
8 | 1966 | Men | London | England | Europe | England | |
9 | 1970 | Men | Mexico City | Mexico | North America | Brazil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StudentId | FirstName | LastName | School | |
---|---|---|---|---|
1 | Tom | Max | Nursing | |
2 | Ann | Fay | Mining | |
3 | Joe | Sun | Nursing | |
4 | Sue | Fox | Computing | |
5 | Ben | Ray | Mining | |
6 | Zoe | Cox | Business | |
7 | Sam | Ray | Mining | |
8 | Dan | Ash | Medicine | |
9 | Pat | Lee | Computing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ProductId,ProductName,UnitsInStock,UnitPrice | |
1,Aniseed Syrup,39,18 | |
2,Chef Anton's Cajun Seasoning,17,19 | |
3,Chef Anton's Gumbo Mix,13,10 | |
4,Grandma's Boysenberry Spread,53,22 | |
5,Uncle Bob's Organic Dried Pears,0,21.35 | |
6,Northwoods Cranberry Sauce,120,25 | |
7,Mishi Kobe Niku,15,30 | |
8,Ikura,6,40 | |
9,Queso Cabrales,29,97 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
List<String> myList = [ | |
'Angela', | |
'James', | |
'Katie', | |
'Jack', | |
]; | |
} |