60 lines
1.9 KiB
C#
60 lines
1.9 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using Apollon.EntityFramework;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
#nullable disable
|
|
|
|
namespace Apollon.EntityFramework.Migrations
|
|
{
|
|
[DbContext(typeof(TournamentsDbContext))]
|
|
partial class TournamentsDbContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "6.0.8")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
|
|
|
|
modelBuilder.Entity("Apollon.EntityFramework.DTOs.TournamentDto", b =>
|
|
{
|
|
b.Property<Guid>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<string>("Competition")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("EndDate")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("Location")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Organisation")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Rounds")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("StartDate")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("TournamentName")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Tournaments");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|