RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbLookup.QueryBuilder Namespace
RingSoft.DbMaintenance Namespace

SelectQuery..::..AddSelectColumn Method (String, QueryTable, String, Boolean)

Adds a column to the columns list.

Namespace:  RingSoft.DbLookup.QueryBuilder
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public SelectQuery AddSelectColumn(
	string name,
	QueryTable queryTable,
	string alias,
	bool isDistinct
)
Public Function AddSelectColumn ( _
	name As String, _
	queryTable As QueryTable, _
	alias As String, _
	isDistinct As Boolean _
) As SelectQuery
public:
SelectQuery^ AddSelectColumn(
	String^ name, 
	QueryTable^ queryTable, 
	String^ alias, 
	bool^ isDistinct
)

Parameters

name
Type: String
The name of the column.
queryTable
Type: RingSoft.DbLookup.QueryBuilder..::..QueryTable
The query table object attached to this column.
alias
Type: String
The value appears after the "AS" keyword.
isDistinct
Type: Boolean
Is the column distinct?

Return Value

This object.

Exceptions


ExceptionCondition
ArgumentException