Manarah/Manarah.App/Migrations/ManarahContextModelSnapshot.cs

40 lines
1.2 KiB
C#
Raw Normal View History

// <auto-generated />
using Manarah.App.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace Manarah.App.Migrations
{
[DbContext(typeof(ManarahContext))]
partial class ManarahContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "8.0.3")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("Manarah.Domain.Server", b =>
{
b.Property<string>("IPAddress")
.HasColumnType("nvarchar(450)");
b.Property<string>("Description")
.HasColumnType("nvarchar(max)");
b.HasKey("IPAddress");
b.ToTable("Server", (string)null);
});
#pragma warning restore 612, 618
}
}
}