 | DALTableQueryColumns 方法 |
Sweet 开发框架
查询数据库的表
命名空间:
Sweet.GeneratorCode.DAL
程序集:
Sweet.GeneratorCode (在 Sweet.GeneratorCode.dll 中) 版本:3.3.1.0 (3.3.1.0)
语法public IList<GenTableColumn> QueryColumns(
Solution model,
string tableName
)
Public Function QueryColumns (
model As Solution,
tableName As String
) As IList(Of GenTableColumn)
member QueryColumns :
model : Solution *
tableName : string -> IList<GenTableColumn>
参数
- model
- 类型:Sweet.GeneratorCode.ModelSolution
SQLServer、MySQL、SQLite - tableName
- 类型:SystemString
数据库表名,只有MySQL的时候在需要传数据库名
返回值
类型:
IListGenTableColumn[缺少 "M:Sweet.GeneratorCode.DAL.DALTable.QueryColumns(Sweet.GeneratorCode.Model.Solution,System.String)" 的 <returns> 文档]
参见