< 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
 318            modelBuilder.HasAnnotation("ProductVersion", "10.0.8");
 19
 320            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditCompletionOutboxEntry", b 
 321                {
 322                    b.Property<Guid>("Id").HasColumnType("TEXT");
 323                    b.Property<int>("AuditRecordCount").HasColumnType("INTEGER");
 324                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 325                    b.Property<string>("CorrelationId").HasMaxLength(128).HasColumnType("TEXT");
 326                    b.Property<DateTime>("CreatedUtc").HasPrecision(3).HasColumnType("TEXT");
 327                    b.Property<string>("DecisionAuditRecordId").HasMaxLength(128).HasColumnType("TEXT");
 328                    b.Property<DateTime?>("DeliveredUtc").HasPrecision(3).HasColumnType("TEXT");
 329                    b.Property<string>("Destination").IsRequired().HasMaxLength(128).HasColumnType("TEXT");
 330                    b.Property<string>("ExecutionAttemptId").HasMaxLength(128).HasColumnType("TEXT");
 331                    b.Property<string>("IdempotencyKey").IsRequired().HasMaxLength(128).HasColumnType("TEXT");
 332                    b.Property<DateTime?>("LastAttemptUtc").HasPrecision(3).HasColumnType("TEXT");
 333                    b.Property<string>("LastErrorCode").HasMaxLength(128).HasColumnType("TEXT");
 334                    b.Property<string>("LastErrorMessage").HasMaxLength(512).HasColumnType("TEXT");
 335                    b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 336                    b.Property<string>("MutationManifestAlgorithm").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 337                    b.Property<string>("MutationManifestHash").IsRequired().HasMaxLength(256).HasColumnType("TEXT");
 338                    b.Property<string>("MutationManifestSchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEX
 339                    b.Property<DateTime?>("NextAttemptUtc").HasPrecision(3).HasColumnType("TEXT");
 340                    b.Property<string>("OperationExecutionId").HasMaxLength(128).HasColumnType("TEXT");
 341                    b.Property<string>("PersistenceOutcome").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 342                    b.Property<DateTime>("ReceiptCompletedUtc").HasPrecision(3).HasColumnType("TEXT");
 343                    b.Property<int>("RetryCount").HasColumnType("INTEGER");
 344                    b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 345                    b.Property<string>("Status").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 346                    b.Property<string>("TraceId").HasMaxLength(64).HasColumnType("TEXT");
 347                    b.HasKey("Id");
 348                    b.HasIndex("CreatedUtc");
 349                    b.HasIndex("IdempotencyKey").IsUnique();
 350                    b.HasIndex("Destination", "MutationBatchId").IsUnique();
 351                    b.HasIndex("Status", "NextAttemptUtc");
 352                    b.ToTable("ApplicationAuditCompletionOutbox", (string)null);
 353                });
 54
 355            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditReconciliationFinding", b 
 356                {
 357                    b.Property<Guid>("Id").HasColumnType("TEXT");
 358                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 359                    b.Property<string>("Destination").HasMaxLength(128).HasColumnType("TEXT");
 360                    b.Property<string>("FindingKey").IsRequired().HasMaxLength(128).HasColumnType("TEXT");
 361                    b.Property<DateTime>("FirstObservedUtc").HasPrecision(3).HasColumnType("TEXT");
 362                    b.Property<string>("Guidance").IsRequired().HasMaxLength(512).HasColumnType("TEXT");
 363                    b.Property<DateTime>("LastObservedUtc").HasPrecision(3).HasColumnType("TEXT");
 364                    b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 365                    b.Property<string>("ReasonCode").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 366                    b.Property<string>("RemediationStatus").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 367                    b.Property<DateTime?>("ResolvedUtc").HasPrecision(3).HasColumnType("TEXT");
 368                    b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 369                    b.Property<string>("Severity").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 370                    b.HasKey("Id");
 371                    b.HasIndex("FindingKey").IsUnique();
 372                    b.HasIndex("MutationBatchId", "ReasonCode");
 373                    b.HasIndex("RemediationStatus", "Severity");
 374                    b.ToTable("ApplicationAuditReconciliationFindings", (string)null);
 375                });
 76
 377            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditReconciliationRemediation"
 378                {
 379                    b.Property<Guid>("Id").HasColumnType("TEXT");
 380                    b.Property<string>("ActionCode").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 381                    b.Property<string>("ActorId").IsRequired().HasMaxLength(256).HasColumnType("TEXT");
 382                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 383                    b.Property<string>("EvidenceReference").HasMaxLength(256).HasColumnType("TEXT");
 384                    b.Property<Guid>("FindingId").HasColumnType("TEXT");
 385                    b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 386                    b.Property<DateTime>("RecordedUtc").HasPrecision(3).HasColumnType("TEXT");
 387                    b.HasKey("Id");
 388                    b.HasIndex("FindingId");
 389                    b.HasIndex("MutationBatchId");
 390                    b.ToTable("ApplicationAuditReconciliationRemediations", (string)null);
 391                });
 92
 393            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.AuditRecord", b =>
 394                {
 395                    b.Property<Guid>("Id").HasColumnType("TEXT");
 396                    b.Property<string>("ActorId").IsRequired().HasMaxLength(256).HasColumnType("TEXT");
 397                    b.Property<string>("ActorType").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 398                    b.Property<string>("Application").IsRequired().HasMaxLength(200).HasColumnType("TEXT");
 399                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 3100                    b.Property<string>("CorrelationId").HasMaxLength(128).HasColumnType("TEXT");
 3101                    b.Property<string>("CurrentValues").IsRequired().HasColumnType("TEXT");
 3102                    b.Property<string>("DecisionAuditRecordId").HasMaxLength(128).HasColumnType("TEXT");
 3103                    b.Property<string>("Entity").IsRequired().HasMaxLength(200).HasColumnType("TEXT");
 3104                    b.Property<string>("ExecutionAttemptId").HasMaxLength(128).HasColumnType("TEXT");
 3105                    b.Property<string>("KeyValues").IsRequired().HasColumnType("TEXT");
 3106                    b.Property<string>("ModifiedBy").IsRequired().HasMaxLength(200).HasColumnType("TEXT");
 3107                    b.Property<DateTime>("ModifiedOnUtc").HasPrecision(3).HasColumnType("TEXT");
 3108                    b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT");
 3109                    b.Property<string>("OperationExecutionId").HasMaxLength(128).HasColumnType("TEXT");
 3110                    b.Property<string>("OrganizationHash").HasMaxLength(128).HasColumnType("TEXT");
 3111                    b.Property<string>("OriginalValues").IsRequired().HasColumnType("TEXT");
 3112                    b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
 3113                    b.Property<string>("SpanId").HasMaxLength(32).HasColumnType("TEXT");
 3114                    b.Property<string>("State").IsRequired().HasMaxLength(100).HasColumnType("TEXT");
 3115                    b.Property<string>("TenantHash").HasMaxLength(128).HasColumnType("TEXT");
 3116                    b.Property<string>("TraceId").HasMaxLength(64).HasColumnType("TEXT");
 3117                    b.HasKey("Id");
 3118                    b.HasIndex("CorrelationId");
 3119                    b.HasIndex("DecisionAuditRecordId");
 3120                    b.HasIndex("MutationBatchId");
 3121                    b.HasIndex("OperationExecutionId");
 3122                    b.ToTable("AuditRecords", (string)null);
 3123                });
 124
 3125            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ExternalLoginAccount", b =>
 3126                {
 3127                    b.Property<Guid>("Id").HasColumnType("TEXT");
 3128                    b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT
 3129                    b.Property<DateTime>("CreatedOnUtc").HasPrecision(3).HasColumnType("TEXT");
 3130                    b.Property<string>("DisplayName").HasMaxLength(200).HasColumnType("TEXT");
 3131                    b.Property<string>("Email").HasMaxLength(320).HasColumnType("TEXT");
 3132                    b.Property<DateTime?>("LastLoginOnUtc").HasPrecision(3).HasColumnType("TEXT");
 3133                    b.Property<Guid>("LocalUserId").HasColumnType("TEXT");
 3134                    b.Property<string>("NormalizedEmail").HasMaxLength(320).HasColumnType("TEXT");
 3135                    b.Property<string>("NormalizedProviderName").IsRequired().HasMaxLength(100).HasColumnType("TEXT");
 3136                    b.Property<string>("ProviderName").IsRequired().HasMaxLength(100).HasColumnType("TEXT");
 3137                    b.Property<string>("ProviderUserId").IsRequired().HasMaxLength(256).HasColumnType("TEXT");
 3138                    b.Property<DateTime?>("UpdatedOnUtc").HasPrecision(3).HasColumnType("TEXT");
 3139                    b.HasKey("Id");
 3140                    b.HasIndex("Email");
 3141                    b.HasIndex("LocalUserId");
 3142                    b.HasIndex("NormalizedEmail");
 3143                    b.HasIndex("NormalizedProviderName", "ProviderUserId").IsUnique();
 3144                    b.ToTable("ExternalLoginAccounts", (string)null);
 3145                });
 146#pragma warning restore 612, 618
 3147        }
 148    }
 149}