Skip to content

Commit 7436a97

Browse files
authored
Apply the "override" access modifier
Apply the "override" access modifier to a column.
1 parent acbebc6 commit 7436a97

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

EntityFramework.Reverse.POCO.Generator/Database.tt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@
217217
// Remove column from poco class as it will be inherited from a base class
218218
//if (column.IsPrimaryKey && table.NameHumanCase.Equals("SomeTable", StringComparison.InvariantCultureIgnoreCase))
219219
// column.Hidden = true;
220+
221+
// Apply the "override" access modifier To a specific column.
222+
//if (column.NameHumanCase == "id")
223+
// column.OverrideModifier = true; // public override long id { get; set; }
220224

221225
// Perform Enum property type replacement
222226
var enumDefinition = EnumsDefinitions.FirstOrDefault(e =>

0 commit comments

Comments
 (0)