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

loresoft / EntityFrameworkCore.Generator / 14749418583

30 Apr 2025 07:44AM CUT coverage: 56.772%. First build
14749418583

Pull #666

github

web-flow
Merge d89b6a9a9 into 5ddfdd103
Pull Request #666: Bump Injectio from 4.1.0 to 5.0.0

566 of 1125 branches covered (50.31%)

Branch coverage included in aggregate %.

1815 of 3069 relevant lines covered (59.14%)

83.9 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;
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
        _model = model;
×
19

20
        WriteCode();
×
21
    }
×
22

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