251# return $stmt->SelectRow();
252# }
253#
254# /**
255# * @return Aviso
256# */
257#
258# public static function GetAvisoById($IdAviso)
259# {
260# $conn = ConfigurationManager::GetDatabaseConnection();
261#
262# $stmt = $conn->Prepare('CALL "AvisoGetById"(:IdAviso)');
263#
264# $stmt->Bind(':IdAviso', $IdAviso, DBConnection::Int);
265#
266# if ($row = $stmt->SelectRow())
267# {
268# return self::RowToEntity($row);
269# }
270#