/// <summary> /// Get all log entities in the database /// concerning this person. /// </summary> /// <returns>All the logs in the database concerning this person.</returns> public List<LogEntity> GetLogs() { if (Exists()) { var resource = new LogResource(); resource.SetPerson(this); resource.SetOrder("timestamp", "desc"); logs = resource.Build(); } return logs; }