< Summary

Information
Class: ProjectTemplate.Infrastructure.Data.Migrations.ApplicationDbContextModelSnapshot
Assembly: ProjectTemplate.Infrastructure
File(s): /home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/Migrations/ApplicationDbContextModelSnapshot.cs
Line coverage
100%
Covered lines: 124
Uncovered lines: 0
Coverable lines: 124
Total lines: 149
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
BuildModel(...)100%11100%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/Migrations/ApplicationDbContextModelSnapshot.cs

#LineLine coverage
 1// <auto-generated />
 2using System;
 3using Microsoft.EntityFrameworkCore;
 4using Microsoft.EntityFrameworkCore.Infrastructure;
 5using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 6using ProjectTemplate.Infrastructure.Data;
 7
 8#nullable disable
 9
 10namespace ProjectTemplate.Infrastructure.Data.Migrations
 11{
 12    [DbContext(typeof(ApplicationDbContext))]
 13    partial class ApplicationDbContextModelSnapshot : ModelSnapshot
 14    {
 15        protected override void BuildModel(ModelBuilder modelBuilder)
 16        {
 17#pragma warning disable 612, 618
 618            modelBuilder.HasAnnotation("ProductVersion", "10.0.8");
 19
 620            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditCompletionOutboxEntry", b 
 621                {
 622                    b.Property<Guid>("Id").HasColumnType("TEXT");
 623                    b.Property<int>("AuditRecordCount").HasColumnType("INTEGER");
 624                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 625                    b.Property<string>("CorrelationId").HasMaxLength(128).HasColumnType("TEXT");
 626                    b.Property<DateTime>("CreatedUtc").HasPrecision(3).HasColumnType("TEXT");
 627                    b.Property<string>("DecisionAuditRecordId").HasMaxLength(128).HasColumnType("TEXT");
 628                    b.Property<DateTime?>("DeliveredUtc").HasPrecision(3).HasColumnType("TEXT");
 629                    b.Property<string>("Destination").IsRequired().HasMaxLength(128).HasColumnType("TEXT");
 630                    b.Property<string>("ExecutionAttemptId").HasMaxLength(128).HasColumnType("TEXT");
 631                    b.Property<string>("IdempotencyKey").IsRequired().HasMaxLength(128).HasColumnType("TEXT");
 632                    b.Property<DateTime?>("LastAttemptUtc").HasPrecision(3).HasColumnType("TEXT");
 633                    b.Property<string>("LastErrorCode").HasMaxLength(128).HasColumnType("TEXT");
 634                    b.Property<string>("LastErrorMessage").HasMaxLength(512).HasColumnType("TEXT");
 635                    b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 636                    b.Property<string>("MutationManifestAlgorithm").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 637                    b.Property<string>("MutationManifestHash").IsRequired().HasMaxLength(256).HasColumnType("TEXT");
 638                    b.Property<string>("MutationManifestSchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEX
 639                    b.Property<DateTime?>("NextAttemptUtc").HasPrecision(3).HasColumnType("TEXT");
 640                    b.Property<string>("OperationExecutionId").HasMaxLength(128).HasColumnType("TEXT");
 641                    b.Property<string>("PersistenceOutcome").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 642                    b.Property<DateTime>("ReceiptCompletedUtc").HasPrecision(3).HasColumnType("TEXT");
 643                    b.Property<int>("RetryCount").HasColumnType("INTEGER");
 644                    b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 645                    b.Property<string>("Status").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 646                    b.Property<string>("TraceId").HasMaxLength(64).HasColumnType("TEXT");
 647                    b.HasKey("Id");
 648                    b.HasIndex("CreatedUtc");
 649                    b.HasIndex("IdempotencyKey").IsUnique();
 650                    b.HasIndex("Destination", "MutationBatchId").IsUnique();
 651                    b.HasIndex("Status", "NextAttemptUtc");
 652                    b.ToTable("ApplicationAuditCompletionOutbox", (string)null);
 1253                });
 54
 655            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditReconciliationFinding", b 
 656                {
 657                    b.Property<Guid>("Id").HasColumnType("TEXT");
 658                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 659                    b.Property<string>("Destination").HasMaxLength(128).HasColumnType("TEXT");
 660                    b.Property<string>("FindingKey").IsRequired().HasMaxLength(128).HasColumnType("TEXT");
 661                    b.Property<DateTime>("FirstObservedUtc").HasPrecision(3).HasColumnType("TEXT");
 662                    b.Property<string>("Guidance").IsRequired().HasMaxLength(512).HasColumnType("TEXT");
 663                    b.Property<DateTime>("LastObservedUtc").HasPrecision(3).HasColumnType("TEXT");
 664                    b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 665                    b.Property<string>("ReasonCode").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 666                    b.Property<string>("RemediationStatus").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 667                    b.Property<DateTime?>("ResolvedUtc").HasPrecision(3).HasColumnType("TEXT");
 668                    b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 669                    b.Property<string>("Severity").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 670                    b.HasKey("Id");
 671                    b.HasIndex("FindingKey").IsUnique();
 672                    b.HasIndex("MutationBatchId", "ReasonCode");
 673                    b.HasIndex("RemediationStatus", "Severity");
 674                    b.ToTable("ApplicationAuditReconciliationFindings", (string)null);
 1275                });
 76
 677            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditReconciliationRemediation"
 678                {
 679                    b.Property<Guid>("Id").HasColumnType("TEXT");
 680                    b.Property<string>("ActionCode").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 681                    b.Property<string>("ActorId").IsRequired().HasMaxLength(256).HasColumnType("TEXT");
 682                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 683                    b.Property<string>("EvidenceReference").HasMaxLength(256).HasColumnType("TEXT");
 684                    b.Property<Guid>("FindingId").HasColumnType("TEXT");
 685                    b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 686                    b.Property<DateTime>("RecordedUtc").HasPrecision(3).HasColumnType("TEXT");
 687                    b.HasKey("Id");
 688                    b.HasIndex("FindingId");
 689                    b.HasIndex("MutationBatchId");
 690                    b.ToTable("ApplicationAuditReconciliationRemediations", (string)null);
 1291                });
 92
 693            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.AuditRecord", b =>
 694                {
 695                    b.Property<Guid>("Id").HasColumnType("TEXT");
 696                    b.Property<string>("ActorId").IsRequired().HasMaxLength(256).HasColumnType("TEXT");
 697                    b.Property<string>("ActorType").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 698                    b.Property<string>("Application").IsRequired().HasMaxLength(200).HasColumnType("TEXT");
 699                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 6100                    b.Property<string>("CorrelationId").HasMaxLength(128).HasColumnType("TEXT");
 6101                    b.Property<string>("CurrentValues").IsRequired().HasColumnType("TEXT");
 6102                    b.Property<string>("DecisionAuditRecordId").HasMaxLength(128).HasColumnType("TEXT");
 6103                    b.Property<string>("Entity").IsRequired().HasMaxLength(200).HasColumnType("TEXT");
 6104                    b.Property<string>("ExecutionAttemptId").HasMaxLength(128).HasColumnType("TEXT");
 6105                    b.Property<string>("KeyValues").IsRequired().HasColumnType("TEXT");
 6106                    b.Property<string>("ModifiedBy").IsRequired().HasMaxLength(200).HasColumnType("TEXT");
 6107                    b.Property<DateTime>("ModifiedOnUtc").HasPrecision(3).HasColumnType("TEXT");
 6108                    b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 6109                    b.Property<string>("OperationExecutionId").HasMaxLength(128).HasColumnType("TEXT");
 6110                    b.Property<string>("OrganizationHash").HasMaxLength(128).HasColumnType("TEXT");
 6111                    b.Property<string>("OriginalValues").IsRequired().HasColumnType("TEXT");
 6112                    b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 6113                    b.Property<string>("SpanId").HasMaxLength(32).HasColumnType("TEXT");
 6114                    b.Property<string>("State").IsRequired().HasMaxLength(100).HasColumnType("TEXT");
 6115                    b.Property<string>("TenantHash").HasMaxLength(128).HasColumnType("TEXT");
 6116                    b.Property<string>("TraceId").HasMaxLength(64).HasColumnType("TEXT");
 6117                    b.HasKey("Id");
 6118                    b.HasIndex("CorrelationId");
 6119                    b.HasIndex("DecisionAuditRecordId");
 6120                    b.HasIndex("MutationBatchId");
 6121                    b.HasIndex("OperationExecutionId");
 6122                    b.ToTable("AuditRecords", (string)null);
 12123                });
 124
 6125            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ExternalLoginAccount", b =>
 6126                {
 6127                    b.Property<Guid>("Id").HasColumnType("TEXT");
 6128                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 6129                    b.Property<DateTime>("CreatedOnUtc").HasPrecision(3).HasColumnType("TEXT");
 6130                    b.Property<string>("DisplayName").HasMaxLength(200).HasColumnType("TEXT");
 6131                    b.Property<string>("Email").HasMaxLength(320).HasColumnType("TEXT");
 6132                    b.Property<DateTime?>("LastLoginOnUtc").HasPrecision(3).HasColumnType("TEXT");
 6133                    b.Property<Guid>("LocalUserId").HasColumnType("TEXT");
 6134                    b.Property<string>("NormalizedEmail").HasMaxLength(320).HasColumnType("TEXT");
 6135                    b.Property<string>("NormalizedProviderName").IsRequired().HasMaxLength(100).HasColumnType("TEXT");
 6136                    b.Property<string>("ProviderName").IsRequired().HasMaxLength(100).HasColumnType("TEXT");
 6137                    b.Property<string>("ProviderUserId").IsRequired().HasMaxLength(256).HasColumnType("TEXT");
 6138                    b.Property<DateTime?>("UpdatedOnUtc").HasPrecision(3).HasColumnType("TEXT");
 6139                    b.HasKey("Id");
 6140                    b.HasIndex("Email");
 6141                    b.HasIndex("LocalUserId");
 6142                    b.HasIndex("NormalizedEmail");
 6143                    b.HasIndex("NormalizedProviderName", "ProviderUserId").IsUnique();
 6144                    b.ToTable("ExternalLoginAccounts", (string)null);
 12145                });
 146#pragma warning restore 612, 618
 6147        }
 148    }
 149}