Skip to content

AddColumn Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
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 ​

NameDescription
columnThe 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 ​

NameDescription
aliasOptional alias to apply in the SELECT clause. If or whitespace, no alias is set.
commentOptional comment describing the column. When Configuration.PrettySQL is enabled, comments are rendered as inline -- comments aligned after the column.
nameThe column name as it appears in the database.