I’m new to CSLA and CodeSmith, but I want to suggest that the CSLA 2.1 templates provide some way to override the standard StoreProcedure names generated.
Maybe this could be done generating the standard names and storing them in variables in the ‘Generated Split Partial Class’ and provide a way to override them in the ‘User Split Partial Class’.
This way we could use existing databases.
Thanks
Jorge
You can accomplish this by changing templatebase.
Search for FetchCommandFormat and just change this area to the desired names.
Mike
I'm new to using CodeSmith. I just made a change to TemplateBase.cs.
But the fixed text I changed didn't show up when I executed the template.
Is there something special I need to do to get it to recognize the change to TemplateBase?
I'm slogging thru the CodeSmith help text online but haven't unlocked the secret yet.
Copyright (c) Marimer LLC