Represents a SQL table or view, including its name and columns, for use in database schema modeling.
internal class SqlTableInheritance System.Object 🡒 SqlTable
The SqlTable class provides metadata about a database table or view, including its columns and whether it is a view. It is intended for internal use in scenarios such as generating schema diagrams or performing schema analysis.
| Properties | |
|---|---|
| Columns | Gets or sets the collection of SQL columns associated with the current context. |
| IsView | Gets or sets a value indicating whether the current object represents a database view. |
| Name | Name of the table or view |
| Methods | |
|---|---|
| PrintTableToTree(IHasTreeNodes, List<SqlForeignKey>) | Adds a visual representation of the table or view to the specified tree structure. |
| PrintToConsole() | Generates a formatted string representation of the current object and its columns for display in the console. |
| PrintToPlantUML() | print column for PlantUML |