ToString() public méthode

public ToString ( ) : string
Résultat string
    public void To_String ()
    {
      var sqlStatement = SqlStatementModelObjectMother.CreateSqlStatement_Resolved (typeof (Cook));
      var expression = new SqlSubStatementExpression (sqlStatement);

      var result = expression.ToString();

      Assert.That (result, Is.EqualTo ("(SELECT [t0] FROM [Table] [t])"));
    }