- <#@ template language="c#" HostSpecific="True" #>
- <#@ output extension= ".cs" #>
- <# TableHost host = (TableHost)(Host);host.Fieldlist.Sort(CodeCommon.CompareByintOrder);#>
- <# foreach (ColumnInfo c in host.Fieldlist) { #>
- select max(len([<#= c.ColumnName.ToString().ToLower() #>])) as len_<#= c.ColumnName.ToString().ToLower() #> from <#= host.GetModelClass(host.TableName) #>
- <# } #>
|