Skip to content

Commit 13ae711

Browse files
authored
Merge pull request #542 from ArnaudB88/bug/541-EntityBaseclass
Fixes #541 Remove Entity name and baseclass properties because of duplication
2 parents ceaa6a5 + 85863f1 commit 13ae711

2 files changed

Lines changed: 0 additions & 40 deletions

File tree

src/EntityFrameworkCore.Generator.Core/Options/EntityClassOptions.cs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,6 @@ public EntityClassOptions(VariableDictionary variables, string prefix)
2424
Renaming = new SelectionOptions(variables, AppendPrefix(prefix, "Naming"));
2525
}
2626

27-
/// <summary>
28-
/// Gets or sets the entity class name template.
29-
/// </summary>
30-
/// <value>
31-
/// The entity class name template.
32-
/// </value>
33-
public string Name
34-
{
35-
get => GetProperty();
36-
set => SetProperty(value);
37-
}
38-
39-
/// <summary>
40-
/// Gets or sets the base class to inherit from.
41-
/// </summary>
42-
/// <value>
43-
/// The base class.
44-
/// </value>
45-
public string BaseClass
46-
{
47-
get => GetProperty();
48-
set => SetProperty(value);
49-
}
50-
5127
/// <summary>
5228
/// Gets or sets the entity class naming strategy.
5329
/// </summary>

src/EntityFrameworkCore.Generator.Core/Serialization/EntityClass.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,6 @@ public EntityClass()
2323
PrefixWithSchemaName = false;
2424
}
2525

26-
/// <summary>
27-
/// Gets or sets the entity class name template.
28-
/// </summary>
29-
/// <value>
30-
/// The entity class name template.
31-
/// </value>
32-
public string Name { get; set; }
33-
34-
/// <summary>
35-
/// Gets or sets the base class to inherit from.
36-
/// </summary>
37-
/// <value>
38-
/// The base class.
39-
/// </value>
40-
public string BaseClass { get; set; }
41-
4226
/// <summary>
4327
/// Gets or sets the entity class naming strategy.
4428
/// </summary>

0 commit comments

Comments
 (0)