// using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using UbloxSC20.Data; #nullable disable namespace UbloxSC20.Migrations { [DbContext(typeof(UbloxSC20Context))] [Migration("20241029030641_id_update")] partial class id_update { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "8.0.10") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("UbloxSC20.Model.NavigationModel", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("NavigationMessage") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SvId") .HasColumnType("int"); b.Property("Timestamp") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Tow") .HasColumnType("int"); b.Property("Week") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("NavigationModel"); }); #pragma warning restore 612, 618 } } }