File: Db2Migrations\MyDb2ContextModelSnapshot.cs
Web Access
Project: src\playground\SqlServerEndToEnd\SqlServerEndToEnd.Common\SqlServerEndToEnd.Common.csproj (SqlServerEndToEnd.Common)
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SqlServerEndToEnd.Common;
 
#nullable disable
 
namespace SqlServerEndToEnd.Common.Db2Migrations
{
    [DbContext(typeof(MyDb2Context))]
    partial class MyDb2ContextModelSnapshot : ModelSnapshot
    {
        protected override void BuildModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .HasAnnotation("ProductVersion", "8.0.26")
                .HasAnnotation("Relational:MaxIdentifierLength", 128);
 
            SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
 
            modelBuilder.Entity("SqlServerEndToEnd.Common.Entry", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
 
                    b.HasKey("Id");
 
                    b.ToTable("Entries");
                });
#pragma warning restore 612, 618
        }
    }
}