No doubt this one has been covered. I can't figure out to console my OCD tendencies for comments to be indented correctly.
Please find attached an example of the format of code regions in a custom LPT template
I've fixed the first class here and left the second as it comes out of the code generator.
// Partial Class BaseCurrencyEntityDto
public partial class BaseCurrencyEntityDto : BaseDto
{
//Add customisations between the the START and END tags
// __LLBLGENPRO_USER_CODE_REGION_START BaseCurrencyEntityCustomCode
// __LLBLGENPRO_USER_CODE_REGION_END
}
// Partial Class ClassificationEntityDto
public partial class ClassificationEntityDto : BaseDto
{
//Add customisations between the the START and END tags
// __LLBLGENPRO_USER_CODE_REGION_START ClassificationEntityCustomCode
// __LLBLGENPRO_USER_CODE_REGION_END
}
Template code which produces that indent for the second partial class
//Add customisations between the the START and END tags
<%=DotNetTemplateEngine.GetUserCodeRegion(entityName + "CustomCode", "//")%>
Any tips would be appreciated. Thank you.