11/19/2023
创建
|
ConnectionString: "${Host.Model.ConnectionString}"
ProviderName: "${Host.Model.ProviderName}"
#foreach ($table in ${Host.Model.Tables})
Table Data: ${table.FullName} (Row count: ${Data.Get(${table.Schema}, ${table.Name}).Rows.Count})
#set($dataTable = $Host.Data.Get(${table.Schema}, ${table.Name}))
#foreach ($row in $dataTable.Rows)
#foreach ($c in ${table.Columns})
${c.Name}: ${Host.Data.ColumnValue($row, $c.Name)}
#end ## table columns
#end ## table rows
#end ## foreach table
|