You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
When I set File Name Marker to empty, the generated entity file name is having two dots in between file name and "cs". So e.g. for the entity Person the generated .cs file name is Person..cs which I was expecting to be Person.cs . Is this by design ? If so, can you help us to remove that empty node in the file name ? I would appreciate that.
Thank you.
The text was updated successfully, but these errors were encountered:
Whoops! Thanks for the catch. That fix is in and will be out in the next release.
You should note that, depending on your workflow, there may be repercussions to not having a marker word in the generated code's file name. Not only is it less clear to the humans, source control systems and linters that this is generated code (so can be safely ignored), but there's a bit of logic in the T4s that does cleanup of dead files, and it wants to use the marker word to determine if the file was generated by the modeler or not. Haven't dug into what will happen with a blank marker, but wanted to throw that out there for you.
How about having a default marker folder say ''generated' that could be renamed via properties panel. It will create namespace with that node for generated classes. There could be separate default folders for entities, enums, structs under the folder 'generated'.
The default path of the 'generated' folder can be under the root folder where .efmodel is stored - but could customized in properties window if developer want to spool generated code in a separate class library.
I also see that in the generated folder - code older or deleted entities from .efmodel diagram is not deleted. May I know if this is by design ? It will be really helpful to autodelete those files. I have been deleting manually before saving .efmodel to generate a fresh batch. Thoughts ?
msawczyn
added
released
Issue is resolved in a current release
and removed
pending release
Issue is resolved in the current codebase, will be published with the next release
labels
Apr 11, 2020
Hi Michael, how are you ?
When I set File Name Marker to empty, the generated entity file name is having two dots in between file name and "cs". So e.g. for the entity Person the generated .cs file name is Person..cs which I was expecting to be Person.cs . Is this by design ? If so, can you help us to remove that empty node in the file name ? I would appreciate that.
Thank you.
The text was updated successfully, but these errors were encountered: