-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ead069a
commit 862ab78
Showing
163 changed files
with
2,308 additions
and
44 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Microsoft.EntityFrameworkCore; | ||
using testapi.Models; | ||
|
||
namespace testapi.Data | ||
{ | ||
public class GamesDbContext : DbContext | ||
{ | ||
public GamesDbContext(DbContextOptions<GamesDbContext> options) : base(options) | ||
{ | ||
} | ||
|
||
public DbSet<Game> Games { get; set; } | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
testapi/Migrations/20240607110605_InitialCreate.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace testapi.Migrations | ||
{ | ||
/// <inheritdoc /> | ||
public partial class InitialCreate : Migration | ||
{ | ||
/// <inheritdoc /> | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.CreateTable( | ||
name: "Games", | ||
columns: table => new | ||
{ | ||
id = table.Column<int>(type: "INTEGER", nullable: false) | ||
.Annotation("Sqlite:Autoincrement", true), | ||
teamOneName = table.Column<string>(type: "TEXT", nullable: true), | ||
teamTwoName = table.Column<string>(type: "TEXT", nullable: true), | ||
winner = table.Column<int>(type: "INTEGER", nullable: false) | ||
}, | ||
constraints: table => | ||
{ | ||
table.PrimaryKey("PK_Games", x => x.id); | ||
}); | ||
} | ||
|
||
/// <inheritdoc /> | ||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropTable( | ||
name: "Games"); | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// <auto-generated /> | ||
using Microsoft.EntityFrameworkCore; | ||
using Microsoft.EntityFrameworkCore.Infrastructure; | ||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion; | ||
using testapi.Data; | ||
|
||
#nullable disable | ||
|
||
namespace testapi.Migrations | ||
{ | ||
[DbContext(typeof(GamesDbContext))] | ||
partial class GamesDbContextModelSnapshot : ModelSnapshot | ||
{ | ||
protected override void BuildModel(ModelBuilder modelBuilder) | ||
{ | ||
#pragma warning disable 612, 618 | ||
modelBuilder.HasAnnotation("ProductVersion", "8.0.6"); | ||
|
||
modelBuilder.Entity("testapi.Models.Game", b => | ||
{ | ||
b.Property<int>("id") | ||
.ValueGeneratedOnAdd() | ||
.HasColumnType("INTEGER"); | ||
|
||
b.Property<string>("teamOneName") | ||
.HasColumnType("TEXT"); | ||
|
||
b.Property<string>("teamTwoName") | ||
.HasColumnType("TEXT"); | ||
|
||
b.Property<int>("winner") | ||
.HasColumnType("INTEGER"); | ||
|
||
b.HasKey("id"); | ||
|
||
b.ToTable("Games"); | ||
}); | ||
#pragma warning restore 612, 618 | ||
} | ||
} | ||
} |
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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+34 KB
testapi/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+111 KB
testapi/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+387 KB
testapi/bin/Debug/net8.0/System.Configuration.ConfigurationManager.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+20.1 KB
testapi/bin/Debug/net8.0/System.Security.Cryptography.ProtectedData.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Binary file added
BIN
+17.6 KB
testapi/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+386 KB
testapi/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+46.6 KB
testapi/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+18.1 KB
testapi/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+416 KB
testapi/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+48.6 KB
testapi/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+17.7 KB
testapi/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+406 KB
testapi/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+48.1 KB
testapi/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+17.7 KB
testapi/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+416 KB
testapi/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+49.1 KB
testapi/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+17.6 KB
testapi/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+413 KB
testapi/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+48.6 KB
testapi/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+18.2 KB
testapi/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+454 KB
testapi/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+51.6 KB
testapi/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+17.6 KB
testapi/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+418 KB
testapi/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+48.6 KB
testapi/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+17.7 KB
testapi/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+418 KB
testapi/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+48.6 KB
testapi/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+17.6 KB
testapi/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+399 KB
testapi/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+48.1 KB
testapi/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+18.6 KB
testapi/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Binary file not shown.
Binary file added
BIN
+549 KB
testapi/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll
Binary file not shown.
Binary file added
BIN
+55.6 KB
testapi/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.07 MB
testapi/bin/Debug/net8.0/runtimes/browser-wasm/nativeassets/net8.0/e_sqlite3.a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.43 MB
testapi/bin/Debug/net8.0/runtimes/linux-mips64/native/libe_sqlite3.so
Binary file not shown.
Binary file added
BIN
+1.07 MB
testapi/bin/Debug/net8.0/runtimes/linux-musl-arm/native/libe_sqlite3.so
Binary file not shown.
Binary file added
BIN
+1.27 MB
testapi/bin/Debug/net8.0/runtimes/linux-musl-arm64/native/libe_sqlite3.so
Binary file not shown.
Binary file added
BIN
+1.17 MB
testapi/bin/Debug/net8.0/runtimes/linux-musl-x64/native/libe_sqlite3.so
Binary file not shown.
Binary file added
BIN
+1.57 MB
testapi/bin/Debug/net8.0/runtimes/linux-ppc64le/native/libe_sqlite3.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.04 MB
testapi/bin/Debug/net8.0/runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib
Binary file not shown.
Binary file added
BIN
+1.07 MB
testapi/bin/Debug/net8.0/runtimes/maccatalyst-x64/native/libe_sqlite3.dylib
Binary file not shown.
Binary file added
BIN
+1.04 MB
testapi/bin/Debug/net8.0/runtimes/osx-arm64/native/libe_sqlite3.dylib
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.48 MB
testapi/bin/Debug/net8.0/runtimes/unix/lib/net6.0/Microsoft.Data.SqlClient.dll
Binary file not shown.
Binary file added
BIN
+417 KB
testapi/bin/Debug/net8.0/runtimes/unix/lib/net6.0/System.Drawing.Common.dll
Binary file not shown.
Binary file added
BIN
+373 KB
testapi/bin/Debug/net8.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+480 KB
testapi/bin/Debug/net8.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+493 KB
testapi/bin/Debug/net8.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+405 KB
testapi/bin/Debug/net8.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.56 MB
testapi/bin/Debug/net8.0/runtimes/win/lib/net6.0/Microsoft.Data.SqlClient.dll
Binary file not shown.
Binary file added
BIN
+52.1 KB
testapi/bin/Debug/net8.0/runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll
Binary file not shown.
Binary file added
BIN
+444 KB
testapi/bin/Debug/net8.0/runtimes/win/lib/net6.0/System.Drawing.Common.dll
Binary file not shown.
Binary file added
BIN
+89.1 KB
testapi/bin/Debug/net8.0/runtimes/win/lib/net6.0/System.Runtime.Caching.dll
Binary file not shown.
Binary file added
BIN
+33.1 KB
...i/bin/Debug/net8.0/runtimes/win/lib/net6.0/System.Security.Cryptography.ProtectedData.dll
Binary file not shown.
Binary file added
BIN
+42.1 KB
testapi/bin/Debug/net8.0/runtimes/win/lib/net6.0/System.Windows.Extensions.dll
Binary file not shown.
Oops, something went wrong.