// using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using WebApplication1.Data; #nullable disable namespace WebApplication1.Migrations.Ruloo2 { [DbContext(typeof(Ruloo2Context))] partial class Ruloo2ContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "6.0.3") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1); modelBuilder.Entity("WebApplication1.Models.Ruloo", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"), 1L, 1); b.Property("Email") .HasColumnType("nvarchar(max)"); b.Property("Kinnitatud") .HasColumnType("bit"); b.Property("Laius") .HasColumnType("int"); b.Property("Pikkus") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Ruloo"); }); #pragma warning restore 612, 618 } } }