zoukankan      html  css  js  c++  java
  • CodeSimth生成数据库建表语句

    添加一个类型为SchemaExplorer.TableSchemaCollection的输入参数。

    <%@ Property Name="SourceTable" Type="SchemaExplorer.TableSchemaCollection" Category="Context" Description="Tables to get the Sql." %>

    在模板正文中加入下面的代码:

    Code
    不需要自己另外写方法了,SchemaExplorer.TableSchemaCollection对象已经包含了我们创建表所需要的信息,

    字段名,字段类型,字段长度等,自己拼接一下就好了。

    So easy!

  • 相关阅读:
    chkconfig命令
    PHP中的WebService
    MySQL 中联合查询效率分析
    javascript中json对象长度
    Replace Pioneer
    c++ 调用matlab程序
    ubuntu 安装 sublime
    一些地址收藏
    学习笔记草稿
    Redis Cluster 集群使用(3)
  • 原文地址:https://www.cnblogs.com/bluesky4485/p/1350643.html
Copyright © 2011-2022 走看看