SqlCommandBuilder<TEntity>.BuildSelectStatement Method (String)
Creates and returns a SELECT query for the current table that includes the SELECT and FROM clauses. All column names are qualified with the provided tableAlias.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public SqlBuilder BuildSelectStatement(
string tableAlias
)
Parameters
tableAlias
Type: System.String
The table alias.
Return Value
Type: SqlBuilder
The SELECT query for the current table.