EntityFramework-Reverse-POCO-Code-First-Generator icon indicating copy to clipboard operation
EntityFramework-Reverse-POCO-Code-First-Generator copied to clipboard

Edit WriteInsideClassBody from the settings file

Open qrjo opened this issue 5 years ago • 0 comments

I want to add some generated methods to my entities (e.g. based on their primary keys). I found that I can do this in the Table.WriteInsideClassBody in EF.Reverse.POCO.v3.ttinclude. However, if I want to update to a new version of the generator, I'd need to redo all this work. It would be nice if I could edit the behavior of WriteInsideClassBody from within the settings file, like was possible in v2.

On a rather unimportant side note, I'd like my methods to be at the bottom of the entity classes, rather than the top.

qrjo avatar Feb 25 '20 13:02 qrjo