GenerateTextForOuterSelectExpression() public méthode

public GenerateTextForOuterSelectExpression ( ISqlCommandBuilder commandBuilder, Expression expression ) : void
commandBuilder ISqlCommandBuilder
expression System.Linq.Expressions.Expression
Résultat void
    public void GenerateTextForOuterSelectExpression ()
    {
      var stage = new DefaultSqlGenerationStage();

      stage.GenerateTextForOuterSelectExpression (_commandBuilder, _sqlStatement.SelectProjection);

      Assert.That (_commandBuilder.GetCommandText(), Is.EqualTo ("[t].[ID],[t].[Name],[t].[City]"));

      Assert.That (_commandBuilder.GetInMemoryProjectionBody(), Is.Not.Null);
    }