<%@ CodeTemplate Language="C#" TargetLanguage="Text" Debug="False" Description="Template description here." %>
<%@ Property Name="SourceTable" Type="SchemaExplorer.TableSchema"  Category="数据库表"  Optional="True" Description="the table name"   %>
<%@ Assembly Name="SchemaExplorer" %>
<%@ Import Namespace="SchemaExplorer" %>

<%  string cols=string.Empty;
    foreach(ColumnSchema col in this.SourceTable.Columns)
    {
        cols+=col.Name+",";
    }
    cols=cols.Remove(cols.Length-1);
    string[] strParamNames=cols.Split(',');
%>
select <%=cols %> from <%=this.SourceTable.Name %>

 

相关文章:

  • 2021-05-21
  • 2021-11-30
  • 2021-06-06
  • 2021-11-01
  • 2022-02-02
  • 2021-07-27
  • 2022-03-06
  • 2021-10-29
猜你喜欢
  • 2021-07-30
  • 2022-12-23
  • 2021-08-03
  • 2021-12-14
  • 2022-12-23
  • 2021-07-02
相关资源
相似解决方案