Select method is used to select data from a database.
You can access each column of the returned row by passing the name or ordinal number of the column to the
ExecuteReader.
Syntax
Select( x =>
x.Fields( { Table | Field | SubSelect( Field | FieldName) } )
.ExcludeFields( { Table | Field } )
.From( Table | SubSelect )
.LeftJoin( (Table | SubSelect), Condition )
.RightJoin( (Table | SubSelect), Condition )
.InnerJoin( (Table | SubSelect), Condition )
.Where( Condition )
.GroupBy( Field Expression Array )
.Having( Condition )
.Skip( value )
.Top( value )
.Paging( page , size )
.OrderASC( Field | SubSelect( Field | FieldName) )
.OrderDESC( Field | SubSelect( Field | FieldName) )
)
Examples
Include/Exclude Fields
Conditional Where
Join
Skip - Top
Group By
Union
Sub Select
Count
Order By