Adds a columnName and its Alias to the SELECT fragment.
Namespace: NHibernate.SqlCommandAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public SqlSimpleSelectBuilder AddColumn( string columnName, string alias ) |
Visual Basic |
---|
Public Function AddColumn ( _ columnName As String, _ alias As String _ ) As SqlSimpleSelectBuilder |
Visual C++ |
---|
public: SqlSimpleSelectBuilder^ AddColumn( String^ columnName, String^ alias ) |
Parameters
- columnName
- Type: System..::..String
The name of the column to add.
- alias
- Type: System..::..String
The alias to use for the column