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

SelectQuery..::..AddSelectEnumColumn<(Of <(<'T>)>)> Method (QueryTable, String, String)

Creates an enumerator column and adds it to the columns list.

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

Syntax


public SelectQuery AddSelectEnumColumn<T>(
	QueryTable queryTable,
	string columnName,
	string alias
)
where T : Enum, Enum, Enum, Enum
Public Function AddSelectEnumColumn(Of T As {Enum, Enum, Enum, Enum}) ( _
	queryTable As QueryTable, _
	columnName As String, _
	alias As String _
) As SelectQuery
public:
generic<typename T>
where T : Enum, Enum, Enum, Enum
SelectQuery^ AddSelectEnumColumn(
	QueryTable^ queryTable, 
	String^ columnName, 
	String^ alias
)

Type Parameters

T
An enumerator class

Parameters

queryTable
Type: RingSoft.DbLookup.QueryBuilder..::..QueryTable
The query table object attached to this column.
columnName
Type: String
Name of the column.
alias
Type: String
The alias.

Return Value

This object.