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

loresoft / EntityFrameworkCore.Generator / 15072048022

16 May 2025 03:31PM UTC coverage: 55.392% (-1.4%) from 56.772%
15072048022

push

github

pwelter34
enable nullable support

616 of 1271 branches covered (48.47%)

Branch coverage included in aggregate %.

233 of 397 new or added lines in 61 files covered. (58.69%)

17 existing lines in 11 files now uncovered.

1824 of 3134 relevant lines covered (58.2%)

88.56 hits per line

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

75.0
/src/EntityFrameworkCore.Generator.Core/Serialization/TemplateModel.cs
1
using System.Collections.Generic;
2
using System.ComponentModel;
3

4
namespace EntityFrameworkCore.Generator.Serialization;
5

6
/// <summary>
7
/// Script template options
8
/// </summary>
9
public class TemplateModel
10
{
11
    /// <summary>
12
    /// Gets or sets the template file path.
13
    /// </summary>
14
    /// <value>
15
    /// The template file path.
16
    /// </value>
17
    public string? TemplatePath { get; set; }
4✔
18

19
    /// <summary>
20
    /// Gets or sets the name of the class
21
    /// </summary>
22
    /// <value>
23
    /// The name of the class.
24
    /// </value>
25
    public string? FileName { get; set; }
4✔
26

27
    /// <summary>
28
    /// Gets or sets the class namespace.
29
    /// </summary>
30
    /// <value>
31
    /// The class namespace.
32
    /// </value>
33
    public string? Namespace { get; set; }
4✔
34

35
    /// <summary>
36
    /// Gets or sets the base class.
37
    /// </summary>
38
    /// <value>
39
    /// The base class.
40
    /// </value>
41
    public string? BaseClass { get; set; }
4✔
42

43

44
    /// <summary>
45
    /// Gets or sets the output directory.  Default is the current working directory.
46
    /// </summary>
47
    /// <value>
48
    /// The output directory.
49
    /// </value>
50
    public string? Directory { get; set; }
4✔
51

52
    /// <summary>
53
    /// Gets or sets a value indicating whether the generated file will be overwritten.
54
    /// </summary>
55
    /// <value>
56
    ///   <c>true</c> to overwrite generated file; otherwise, <c>false</c>.
57
    /// </value>
58
    [DefaultValue(false)]
59
    public bool Overwrite { get; set; }
4✔
60

61
    /// <summary>
62
    /// Gets or sets a value indicating whether the generated file will be merged via region replacement.
63
    /// </summary>
64
    /// <value>
65
    ///   <c>true</c> to merged via region replacement; otherwise, <c>false</c>.
66
    /// </value>
67
    [DefaultValue(false)]
UNCOV
68
    public bool Merge { get; set; }
×
69

70
    /// <summary>
71
    /// Gets or sets the template parameters.
72
    /// </summary>
73
    /// <value>
74
    /// The template parameters.
75
    /// </value>
NEW
76
    public Dictionary<string, string>? Parameters { get; set; }
×
77

78
}
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