44#
45# /**
46# * @return Persona
47# */
48# public static function GetById($idPersona)
49# {
50# $cacheKey = self::BuildGetByIdCacheKey($idPersona);
51# if (($persona = CaCacheManager::Get($cacheKey)) === false)
52# {
53# $conn = ConfigurationManager::GetDatabaseConnection();
54#
55# $stmt = $conn->Prepare('SELECT * FROM "PersonaGetById"(:IdPersona);');
56# $stmt->Bind(':IdPersona', $idPersona, DBConnection::Int);
57#
58# if ($row = $stmt->SelectRow())
59# {
60# $persona = self::RowToEntity($row);
61# }
62# CaCacheManager::Add($cacheKey, $persona);
63# }