PersonSession.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
    public override string ToString()
    {
        return "[uniqueID: " + uniqueID + "]," + personID + ", " + ", " + sessionID + ", " + height + ", " + weight + ", " + sportID + ", " + speciallityID + ", " + practice + ", " + comments;
    }

Usage Example

 public int UploadPersonSessionIfNeeded(PersonSession ps)
 {
     if (!SqlitePersonSession.PersonSelectExistsInSession(ps.PersonID, ps.SessionID))
     {
         Console.WriteLine("personSession needed");
         Console.WriteLine(ps.ToString());
         ps.InsertAtDB(false, Constants.PersonSessionTable);
         Console.WriteLine("done");
         return(1);            //unused
     }
     else
     {
         Console.WriteLine("personSession NOT needed");
     }
     return(0);        //unused
 }
All Usage Examples Of PersonSession::ToString