ToString() публичный Метод

public ToString ( ) : string
Результат string
    public new void ToString ()
    {
      var joinedTable = new SqlJoinedTable (SqlStatementModelObjectMother.CreateUnresolvedJoinInfo_KitchenCook(), JoinSemantics.Left);

      var result = joinedTable.ToString ();

      Assert.That (result, Is.EqualTo ("LEFT JOIN Kitchen.Cook"));
    }
    public void ToString_WithJoins ()
    {
      var joinedTable = new SqlJoinedTable (SqlStatementModelObjectMother.CreateUnresolvedJoinInfo_KitchenCook(), JoinSemantics.Left);
      var joinInfo = SqlStatementModelObjectMother.CreateUnresolvedJoinInfo_KitchenCook ();
      var memberInfo = typeof (Kitchen).GetProperty ("Cook");
      joinedTable.GetOrAddLeftJoin (joinInfo, memberInfo);

      var result = joinedTable.ToString ();
      Assert.That (result, Is.EqualTo ("LEFT JOIN Kitchen.Cook LEFT JOIN Kitchen.Cook"));
    }