@@ -69,9 +69,9 @@ foreach(var property in entity.Properties.Where(prop => prop.Type.GetTypeString(
6969
7070 /**
7171 * Gets the <#=propertyName#>
72- <# if (property.LongDescription != null) {
72+ <# if (property.LongDescription != null || property.Description != null ) {
7373#>
74- * <#=property.LongDescription #>
74+ * <#=property.GetSanitizedLongDescription() #>
7575<# } #>
7676 *
7777 * @return array The <#=propertyName#>
@@ -87,9 +87,9 @@ foreach(var property in entity.Properties.Where(prop => prop.Type.GetTypeString(
8787
8888 /**
8989 * Sets the <#=propertyName#>
90- <# if (property.LongDescription != null) {
90+ <# if (property.LongDescription != null || property.Description != null ) {
9191#>
92- * <#=property.LongDescription #>
92+ * <#=property.GetSanitizedLongDescription() #>
9393<# } #>
9494 *
9595 * @param <#=property.Type.GetTypeString().SanitizeEntityName().ToCheckedCase()#> $val The <#=propertyName#>
@@ -107,9 +107,9 @@ foreach(var property in entity.Properties.Where(prop => prop.Type.GetTypeString(
107107#>
108108 /**
109109 * Gets the <#=propertyName#>
110- <# if (property.LongDescription != null) {
110+ <# if (property.LongDescription != null || property.Description != null ) {
111111#>
112- * <#=property.LongDescription #>
112+ * <#=property.GetSanitizedLongDescription() #>
113113<# } #>
114114 *
115115 * @return <#=property.Type.GetTypeString().SanitizeEntityName().ToCheckedCase()#> The <#=propertyName#>
@@ -140,9 +140,9 @@ if (property.Type.GetTypeString()[0] == '\\') { #>
140140
141141 /**
142142 * Sets the <#=propertyName#>
143- <# if (property.LongDescription != null) {
143+ <# if (property.LongDescription != null || property.Description != null ) {
144144#>
145- * <#=property.LongDescription #>
145+ * <#=property.GetSanitizedLongDescription() #>
146146<# } #>
147147 *
148148 * @param <#=property.Type.GetTypeString().SanitizeEntityName().ToCheckedCase()#> $val The <#=propertyName#>
@@ -167,9 +167,9 @@ if (property.Type.GetTypeString()[0] == '\\') { #>
167167#>
168168 /**
169169 * Gets the <#=propertyName#>
170- <# if (property.LongDescription != null) {
170+ <# if (property.LongDescription != null || property.Description != null ) {
171171#>
172- * <#=property.LongDescription #>
172+ * <#=property.GetSanitizedLongDescription() #>
173173<# } #>
174174 *
175175 * @return <#=property.Type.GetTypeString()#> The <#=propertyName#>
@@ -195,9 +195,9 @@ if (property.Type.GetTypeString()[0] == '\\') { #>
195195
196196 /**
197197 * Sets the <#=propertyName#>
198- <# if (property.LongDescription != null) {
198+ <# if (property.LongDescription != null || property.Description != null ) {
199199#>
200- * <#=property.LongDescription #>
200+ * <#=property.GetSanitizedLongDescription() #>
201201<# } #>
202202 *
203203 * @param <#=property.Type.GetTypeString()#> $val The <#=propertyName#>
0 commit comments