Remotion.Linq.SqlBackend.SqlGeneration.SqlStatementTextGenerator.BuildTopPart C# (CSharp) Метод

BuildTopPart() защищенный Метод

protected BuildTopPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
Результат void
    protected virtual void BuildTopPart (SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder)
    {
      if (sqlStatement.TopExpression != null)
      {
        commandBuilder.Append ("TOP (");
        _stage.GenerateTextForTopExpression (commandBuilder, sqlStatement.TopExpression);
        commandBuilder.Append (") ");
      }
    }