<#@ template language="c#" HostSpecific="True" #> <#@ output extension= ".aspx" #> <# TableHost host = (TableHost)(Host); string ModelSpace = host.NameSpace+".Model."+ host.GetModelClass(host.TableName); string DALSpace= host.NameSpace+".BLL."+ host.GetBLLClass(host.TableName); ColumnInfo identityKey=host.IdentityKey; #> <# foreach (ColumnInfo c in host.Fieldlist) { #> <# } #>
<#= c.Description == "" ? c.ColumnName : c.Description #>: <# if(CodeCommon.DbTypeToCS(c.TypeName)=="datetime") { #> <#} else #> <# if(CodeCommon.DbTypeToCS(c.TypeName)=="bool") { #> <#} else #> <# { #> <#}#>