Skip to content
Snippets Groups Projects
Select Git revision
  • beb15ee1f9fdee6f4610a7873555c8dd51a34363
  • master default
  • develop
  • feature/modify-course-sections
  • videoConferencePOC
5 results

20201107172316_sections.Designer.cs

Blame
  • 20201107172316_sections.Designer.cs 22.31 KiB
    // <auto-generated />
    using System;
    using Microsoft.EntityFrameworkCore;
    using Microsoft.EntityFrameworkCore.Infrastructure;
    using Microsoft.EntityFrameworkCore.Migrations;
    using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
    using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
    using Tsi1.DataLayer;
    
    namespace Tsi1.DataLayer.Migrations
    {
        [DbContext(typeof(Tsi1Context))]
        [Migration("20201107172316_sections")]
        partial class sections
        {
            protected override void BuildTargetModel(ModelBuilder modelBuilder)
            {
    #pragma warning disable 612, 618
                modelBuilder
                    .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
                    .HasAnnotation("ProductVersion", "3.1.4")
                    .HasAnnotation("Relational:MaxIdentifierLength", 63);
    
                modelBuilder.Entity("Tsi1.DataLayer.Entities.Connection", b =>
                    {
                        b.Property<string>("ConnectionId")
                            .HasColumnType("text");
    
                        b.Property<string>("GroupName")
                            .HasColumnType("text");
    
                        b.Property<int>("UserId")
                            .HasColumnType("integer");
    
                        b.HasKey("ConnectionId");
    
                        b.HasIndex("GroupName");
    
                        b.ToTable("Connections");
                    });
    
                modelBuilder.Entity("Tsi1.DataLayer.Entities.Course", b =>
                    {
                        b.Property<int>("Id")
                            .ValueGeneratedOnAdd()
                            .HasColumnType("integer")
                            .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
    
                        b.Property<string>("Name")
                            .IsRequired()
                            .HasColumnType("character varying(50)");
    
                        b.Property<int>("TenantId")
                            .HasColumnType("integer");
    
                        b.HasKey("Id");
    
                        b.HasIndex("TenantId");
    
                        b.HasIndex("Name", "TenantId")
                            .IsUnique();
    
                        b.ToTable("Courses");
                    });
    
                modelBuilder.Entity("Tsi1.DataLayer.Entities.File", b =>
                    {
                        b.Property<int>("Id")
                            .ValueGeneratedOnAdd()
                            .HasColumnType("integer")