// using System; using EVCB_OCPP.Domain; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace EVCB_OCPP.Domain.Migrations.MeterValueDB { [DbContext(typeof(MeterValueDBContext))] partial class MeterValueDBContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .UseCollation("Chinese_Taiwan_Stroke_CI_AS") .HasAnnotation("ProductVersion", "7.0.12") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("EVCB_OCPP.Domain.Models.MeterValueDb.ConnectorMeterValueRecord", b => { b.Property("ChargeBoxId") .HasMaxLength(50) .HasColumnType("nvarchar(50)"); b.Property("ConnectorId") .HasColumnType("tinyint"); b.Property("ContextId") .HasColumnType("int"); b.Property("CreatedOn") .HasColumnType("smalldatetime"); b.Property("FormatId") .HasColumnType("int"); b.Property("Id") .HasColumnType("bigint"); b.Property("LocationId") .HasColumnType("int"); b.Property("MeasurandId") .HasColumnType("int"); b.Property("PhaseId") .HasColumnType("int"); b.Property("TransactionId") .HasColumnType("int"); b.Property("UnitId") .HasColumnType("int"); b.Property("Value") .HasMaxLength(10) .HasColumnType("nvarchar(10)"); b.ToTable("ConnectorMeterValueRecord", (string)null); }); #pragma warning restore 612, 618 } } }