Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.88 KB

File metadata and controls

29 lines (22 loc) · 1.88 KB

SqlTable Class

Represents a SQL table or view, including its name and columns, for use in database schema modeling.

internal class SqlTable

Inheritance System.Object 🡒 SqlTable

Remarks

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