< 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: 119
Uncovered lines: 0
Coverable lines: 119
Total lines: 141
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
 218            modelBuilder.HasAnnotation("ProductVersion", "10.0.8");
 19
 220            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.AuditRecord", b =>
 221                {
 222                    b.Property<Guid>("Id")
 223                        .HasColumnType("TEXT");
 224
 225                    b.Property<string>("Application")
 226                        .IsRequired()
 227                        .HasMaxLength(200)
 228                        .HasColumnType("TEXT");
 229
 230                    b.Property<string>("ConcurrencyStamp")
 231                        .IsConcurrencyToken()
 232                        .IsRequired()
 233                        .HasMaxLength(64)
 234                        .HasColumnType("TEXT");
 235
 236                    b.Property<string>("CurrentValues")
 237                        .IsRequired()
 238                        .HasColumnType("TEXT");
 239
 240                    b.Property<string>("Entity")
 241                        .IsRequired()
 242                        .HasMaxLength(200)
 243                        .HasColumnType("TEXT");
 244
 245                    b.Property<string>("KeyValues")
 246                        .IsRequired()
 247                        .HasColumnType("TEXT");
 248
 249                    b.Property<string>("ModifiedBy")
 250                        .IsRequired()
 251                        .HasMaxLength(200)
 252                        .HasColumnType("TEXT");
 253
 254                    b.Property<DateTime>("ModifiedOnUtc")
 255                        .HasPrecision(3)
 256                        .HasColumnType("TEXT");
 257
 258                    b.Property<string>("OriginalValues")
 259                        .IsRequired()
 260                        .HasColumnType("TEXT");
 261
 262                    b.Property<string>("State")
 263                        .IsRequired()
 264                        .HasMaxLength(100)
 265                        .HasColumnType("TEXT");
 266
 267                    b.HasKey("Id");
 268
 269                    b.ToTable("AuditRecords", (string)null);
 470                });
 71
 272            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ExternalLoginAccount", b =>
 273                {
 274                    b.Property<Guid>("Id")
 275                        .HasColumnType("TEXT");
 276
 277                    b.Property<string>("ConcurrencyStamp")
 278                        .IsConcurrencyToken()
 279                        .IsRequired()
 280                        .HasMaxLength(64)
 281                        .HasColumnType("TEXT");
 282
 283                    b.Property<DateTime>("CreatedOnUtc")
 284                        .HasPrecision(3)
 285                        .HasColumnType("TEXT");
 286
 287                    b.Property<string>("DisplayName")
 288                        .HasMaxLength(200)
 289                        .HasColumnType("TEXT");
 290
 291                    b.Property<string>("Email")
 292                        .HasMaxLength(320)
 293                        .HasColumnType("TEXT");
 294
 295                    b.Property<DateTime?>("LastLoginOnUtc")
 296                        .HasPrecision(3)
 297                        .HasColumnType("TEXT");
 298
 299                    b.Property<Guid>("LocalUserId")
 2100                        .HasColumnType("TEXT");
 2101
 2102                    b.Property<string>("NormalizedEmail")
 2103                        .HasMaxLength(320)
 2104                        .HasColumnType("TEXT");
 2105
 2106                    b.Property<string>("NormalizedProviderName")
 2107                        .IsRequired()
 2108                        .HasMaxLength(100)
 2109                        .HasColumnType("TEXT");
 2110
 2111                    b.Property<string>("ProviderName")
 2112                        .IsRequired()
 2113                        .HasMaxLength(100)
 2114                        .HasColumnType("TEXT");
 2115
 2116                    b.Property<string>("ProviderUserId")
 2117                        .IsRequired()
 2118                        .HasMaxLength(256)
 2119                        .HasColumnType("TEXT");
 2120
 2121                    b.Property<DateTime?>("UpdatedOnUtc")
 2122                        .HasPrecision(3)
 2123                        .HasColumnType("TEXT");
 2124
 2125                    b.HasKey("Id");
 2126
 2127                    b.HasIndex("Email");
 2128
 2129                    b.HasIndex("LocalUserId");
 2130
 2131                    b.HasIndex("NormalizedEmail");
 2132
 2133                    b.HasIndex("NormalizedProviderName", "ProviderUserId")
 2134                        .IsUnique();
 2135
 2136                    b.ToTable("ExternalLoginAccounts", (string)null);
 4137                });
 138#pragma warning restore 612, 618
 2139        }
 140    }
 141}