• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

loresoft / EntityFrameworkCore.Generator / 27730465225

18 Jun 2026 01:21AM UTC coverage: 74.693% (+19.8%) from 54.885%
27730465225

push

github

pwelter34
update tests

922 of 1609 branches covered (57.3%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 2 files covered. (100.0%)

230 existing lines in 23 files now uncovered.

4007 of 4990 relevant lines covered (80.3%)

1258.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/EntityFrameworkCore.Generator.Core/Scripts/EntityScriptTemplate.cs
1
using EntityFrameworkCore.Generator.Metadata.Generation;
2
using EntityFrameworkCore.Generator.Options;
3

4
using Microsoft.Extensions.Logging;
5

6
namespace EntityFrameworkCore.Generator.Scripts;
7

8
public class EntityScriptTemplate : ScriptTemplateBase<EntityScriptVariables>
9
{
10
    private Entity _entity = null!;
11

12
    public EntityScriptTemplate(ILoggerFactory loggerFactory, GeneratorOptions generatorOptions, TemplateOptions templateOptions)
UNCOV
13
        : base(loggerFactory, generatorOptions, templateOptions)
×
14
    {
UNCOV
15
    }
×
16

17
    public void RunScript(Entity entity)
18
    {
UNCOV
19
        ArgumentNullException.ThrowIfNull(entity);
×
20

UNCOV
21
        _entity = entity;
×
22

23
        WriteCode();
×
UNCOV
24
    }
×
25

26
    protected override EntityScriptVariables CreateVariables()
27
    {
UNCOV
28
        return new EntityScriptVariables(_entity, GeneratorOptions, TemplateOptions);
×
29
    }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc