Appearance
AddColumn Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
void AddColumn(Column column) | Adds an existing Column instance to the collection. |
void AddColumn(string name, string alias, string comment) | Adds a column to the collection using a name and optional alias and comment. |
void AddColumn(Column column)
csharp
void AddColumn(Column column)Adds an existing Column instance to the collection.
Parameters
| Name | Description |
|---|---|
column | The column definition to add. |
void AddColumn(string name, string alias, string comment)
csharp
void AddColumn(string name, string alias, string comment)Adds a column to the collection using a name and optional alias and comment.
Parameters
| Name | Description |
|---|---|
alias | Optional alias to apply in the SELECT clause. If or whitespace, no alias is set. |
comment | Optional comment describing the column. When Configuration.PrettySQL is enabled, comments are rendered as inline -- comments aligned after the column. |
name | The column name as it appears in the database. |