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

loresoft / EntityFrameworkCore.Generator / 15460811637

05 Jun 2025 07:12AM CUT coverage: 54.917%. Remained the same
15460811637

Pull #669

github

web-flow
Merge 7e40b6960 into b2ad58745
Pull Request #669: Bump the azure group with 3 updates

643 of 1333 branches covered (48.24%)

Branch coverage included in aggregate %.

1881 of 3263 relevant lines covered (57.65%)

61.27 hits per line

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

0.0
/src/EntityFrameworkCore.Generator.Core/Scripts/ModelScriptTemplate.cs
1
using EntityFrameworkCore.Generator.Metadata.Generation;
2
using EntityFrameworkCore.Generator.Options;
3
using Microsoft.Extensions.Logging;
4

5
namespace EntityFrameworkCore.Generator.Scripts;
6

7
public class ModelScriptTemplate : ScriptTemplateBase<ModelScriptVariables>
8
{
9
    private Model _model = null!;
10

11
    public ModelScriptTemplate(ILoggerFactory loggerFactory, GeneratorOptions generatorOptions, TemplateOptions templateOptions)
12
        : base(loggerFactory, generatorOptions, templateOptions)
×
13
    {
14
    }
×
15

16
    public void RunScript(Model model)
17
    {
18
        ArgumentNullException.ThrowIfNull(model);
×
19

20
        _model = model;
×
21

22
        WriteCode();
×
23
    }
×
24

25
    protected override ModelScriptVariables CreateVariables()
26
    {
27
        return new ModelScriptVariables(_model, GeneratorOptions, TemplateOptions);
×
28
    }
29
}
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

© 2025 Coveralls, Inc