Skip to content

Commit 77d6f1e

Browse files
authored
Merge pull request #188 from cux/master
Master - // Apply the "override" access modifier to a specific column.
2 parents acbebc6 + a86c868 commit 77d6f1e

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)