I am writing a template for my BL classes and I want my BL to have a different RootNameSpace than the DAL.
I added a custom property to the project (BLNameSapce) and wanted to loop through the custom properties of the project in the template to retreive the value of this custome property using the following code:
<[Foreach CustomPropertyName]><[If CustomPropertyName = "BLRootNameSpace" ]>
Imports <[CustomPropertyValue]>
<[EndIf]><[NextForeach]>
This seems not to be working as I get the followin in the generated code
ForeachCustomPropertyName]>IfCustomPropertyName = "BLRootNameSpace" ]>
Imports
question 1: is there a better way to handle the issue of a second nameSpace in the project than using project's custom properties
question 2: how to iterate through a project's custom properties in TDL and retreive the value of a specific custom property