< Summary - Combined Code Coverage

Information
Class: NLightning.Models.SqlServer.Migrations.NLightningContextModelSnapshot
Assembly: NLightning.Models.SqlServer
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Models.SqlServer/Migrations/NLightningContextModelSnapshot.cs
Tag: 30_15166811759
Line coverage
0%
Covered lines: 0
Uncovered lines: 17
Coverable lines: 17
Total lines: 39
Line coverage: 0%
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%210%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Models.SqlServer/Migrations/NLightningContextModelSnapshot.cs

#LineLine coverage
 1// <auto-generated />
 2using Microsoft.EntityFrameworkCore;
 3using Microsoft.EntityFrameworkCore.Infrastructure;
 4using Microsoft.EntityFrameworkCore.Metadata;
 5using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 6using NLightning.Models;
 7
 8#nullable disable
 9
 10namespace NLightning.Models.SqlServer.Migrations
 11{
 12    [DbContext(typeof(NLightningContext))]
 13    partial class NLightningContextModelSnapshot : ModelSnapshot
 14    {
 15        protected override void BuildModel(ModelBuilder modelBuilder)
 16        {
 17#pragma warning disable 612, 618
 018            modelBuilder
 019                .HasAnnotation("ProductVersion", "8.0.3")
 020                .HasAnnotation("Relational:MaxIdentifierLength", 128);
 21
 022            SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
 23
 024            modelBuilder.Entity("NLightning.Models.NLightningContext+Node", b =>
 025                {
 026                    b.Property<long>("Id")
 027                        .ValueGeneratedOnAdd()
 028                        .HasColumnType("bigint");
 029
 030                    SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
 031
 032                    b.HasKey("Id");
 033
 034                    b.ToTable("Nodes");
 035                });
 36#pragma warning restore 612, 618
 037        }
 38    }
 39}